aboutsummaryrefslogtreecommitdiff
path: root/system/gdmap
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-04-04 01:46:24 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-04-04 22:06:49 -0500
commitcc36029610a786c8489cf5ef8203acaf8c4b6c87 (patch)
tree32b81fe6c34cd1dc9ea5cbbec3ddcccc42ab7569 /system/gdmap
parentf3ab81dc1be1c5146ad68a6a40e160e2a0cbc6af (diff)
system/gdmap: Allow deprecated gtk functions.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/gdmap')
-rw-r--r--system/gdmap/gdmap.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/gdmap/gdmap.SlackBuild b/system/gdmap/gdmap.SlackBuild
index 2667a521ac26b..7f4622da4aa00 100644
--- a/system/gdmap/gdmap.SlackBuild
+++ b/system/gdmap/gdmap.SlackBuild
@@ -22,7 +22,7 @@
PRGNAM=gdmap
VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -67,6 +67,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Allow deprecated gtk functions.
+sed -i s/-DGTK_DISABLE_DEPRECATED//g configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \