From 16259097bcba08458d7d176dd8b5b654045afe65 Mon Sep 17 00:00:00 2001 From: Binh Nguyen Date: Tue, 21 Aug 2012 23:05:25 -0500 Subject: system/gdmap: Fixed to build against gcc-4.7.x Signed-off-by: Binh Nguyen Signed-off-by: Robby Workman --- system/gdmap/gdmap.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/gdmap/gdmap.SlackBuild b/system/gdmap/gdmap.SlackBuild index 7f4622da4aa00..d681cacdd2e53 100644 --- a/system/gdmap/gdmap.SlackBuild +++ b/system/gdmap/gdmap.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2010 Binh Nguyen +# Copyright 2010, 2012 Binh Nguyen # 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 \ -- cgit v1.2.3