summaryrefslogtreecommitdiff
path: root/system/gdmap
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2012-08-21 23:05:25 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 23:09:35 -0500
commit16259097bcba08458d7d176dd8b5b654045afe65 (patch)
tree5a07ef1b77264d606ea77c06c7f25f96780f6f46 /system/gdmap
parent5d71555fcdaa0f7f894967c164ae29fa09766e6d (diff)
downloadslackbuilds-16259097bcba08458d7d176dd8b5b654045afe65.tar.gz
system/gdmap: Fixed to build against gcc-4.7.x
Signed-off-by: Binh Nguyen <binhnguyen@fastmail.fm> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/gdmap')
-rw-r--r--system/gdmap/gdmap.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/gdmap/gdmap.SlackBuild b/system/gdmap/gdmap.SlackBuild
index 7f4622da4a..d681cacdd2 100644
--- a/system/gdmap/gdmap.SlackBuild
+++ b/system/gdmap/gdmap.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm>
+# Copyright 2010, 2012 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
PRGNAM=gdmap
VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,7 +70,7 @@ find . \
# Allow deprecated gtk functions.
sed -i s/-DGTK_DISABLE_DEPRECATED//g configure
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -lm" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \