aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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