summaryrefslogtreecommitdiff
path: root/desktop/devilspie/devilspie.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/devilspie/devilspie.SlackBuild')
-rw-r--r--desktop/devilspie/devilspie.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/devilspie/devilspie.SlackBuild b/desktop/devilspie/devilspie.SlackBuild
index fa17a44fc1..28e2e1990c 100644
--- a/desktop/devilspie/devilspie.SlackBuild
+++ b/desktop/devilspie/devilspie.SlackBuild
@@ -52,6 +52,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Allow DEPRECATED functions or build fails on gtk+2-2.24.3.
+sed -i -e '/-DG.*_DISABLE_DEPRECATED/d' src/Makefile.am
+autoreconf
+
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
./configure \