aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-15 23:34:47 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-20 14:08:09 -0500
commitf62d47af066fd6ebdd7c81f3a2f6a7f2b24432fc (patch)
treeb251e26a50d856bc7973cd40f4854229950996c3 /desktop
parent4e2dced233c338de6ea07be4325ddfa29b5f4243 (diff)
desktop/gtk-chtheme: Allow deprecated functions for gtk+-2.24.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/gtk-chtheme/gtk-chtheme.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
index 8072bf1ff6d35..95eff4ec419e2 100644
--- a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
+++ b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=gtk-chtheme
VERSION=0.3.1
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG=_SBo}
# Automatically determine the architecture we're building on:
@@ -73,6 +73,9 @@ chmod -R u+w,go+r-w,a-s .
patch -p1 < $CWD/gtk-chtheme-0.3.1-new-api.patch
+# Don't disable deprecated stuff or else it won't build with gtk+2-2.24.x
+sed -i 's/-DGTK_DISABLE_DEPRECATED//' Makefile
+
make RPM_OPT_FLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG MANDIR=usr/man