desktop/gtk-chtheme: Allow deprecated functions for gtk+-2.24.x

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-03-15 23:34:47 -05:00
parent 4e2dced233
commit f62d47af06

View file

@ -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