aboutsummaryrefslogtreecommitdiff
path: root/libraries/gtk-qt-engine
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-17 21:23:16 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-17 23:34:13 -0500
commit58fc3848d1fb9d650d4d2d1bd029b736fe2b0e66 (patch)
tree3e4e05687aac03700ae0b01f8f4d457b7bc68502 /libraries/gtk-qt-engine
parentadb012bd93ad2ec7048325a206ba0743059cf529 (diff)
libraries/gtk-qt-engine: Added a patch for glib>=2.31.
Also adjusted prefix depth for the patch Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/gtk-qt-engine')
-rw-r--r--libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild
index fc6aec581e364..5664e5852f09a 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" \