summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-03-29 23:38:23 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-03-30 22:52:10 -0500
commit177c9510ad29921fffb11c9521d1dfd685f32f22 (patch)
treee5ce165c3dffd845e2ebad666abd7287e5cc7e55
parent114ffb8bfe501b70a502a3de00bf81dd1eac2f4c (diff)
downloadslackbuilds-177c9510ad29921fffb11c9521d1dfd685f32f22.tar.gz
desktop/devilspie: # Allow DEPRECATED functions on gtk+2-2.24.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-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 \