From 58fc3848d1fb9d650d4d2d1bd029b736fe2b0e66 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 17 Sep 2012 21:23:16 +0200 Subject: libraries/gtk-qt-engine: Added a patch for glib>=2.31. Also adjusted prefix depth for the patch Signed-off-by: Matteo Bernardini --- libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libraries/gtk-qt-engine') diff --git a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild index fc6aec581e..5664e5852f 100644 --- a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild +++ b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=gtk-qt-engine VERSION=${VERSION:-1.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -75,7 +75,10 @@ find . \ -exec chmod 644 {} \; # Patch the source so it won't break while building -patch -p0 < $CWD/include.patch +patch -p4 < $CWD/include.patch + +# Fix for glib>=2.31 +sed -i "s|/glist||" src/qt_theme_draw.c cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -- cgit v1.2.3