diff options
author | Binh Nguyen <binhnguyen@fastmail.fm> | 2012-08-23 11:26:15 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-23 08:13:43 -0500 |
commit | b2f8733f235ddbcdc75601b5cf4bb2478686d040 (patch) | |
tree | b211ff2d4299c290072a70a42b57a196a0bb2a93 /libraries | |
parent | 88bbbe43c1809d8c2a622f1ec494f55bae6fac4a (diff) |
libraries/libgdiplus: Fixed to build against gcc-4.7.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libgdiplus/libgdiplus.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild index 551f2c5308fc3..f2a6132752b06 100644 --- a/libraries/libgdiplus/libgdiplus.SlackBuild +++ b/libraries/libgdiplus/libgdiplus.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=libgdiplus VERSION=2.10.9 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -79,6 +79,11 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux +# Quick fix borrowed from: +# https://www.slacky.eu/asche64/pkgreports/ +sed -i "s/^LIBS = -lpthread -lfontconfig $/\ + LIBS = -lpthread -lfontconfig -lglib-2.0 -lX11/" tests/Makefile + make make install-strip DESTDIR=$PKG |