summaryrefslogtreecommitdiff
path: root/libraries/libofx/libofx.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2012-10-04 23:26:34 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-10-07 09:16:15 -0400
commitd7f81dfe0c321f8c875d4d89191415e6ee7ce77d (patch)
treeb650f698fac31178185401c183a3c9da2e28fa3b /libraries/libofx/libofx.SlackBuild
parent6269a559be426d40718e9c2cb1f900b4896bc208 (diff)
downloadslackbuilds-d7f81dfe0c321f8c875d4d89191415e6ee7ce77d.tar.gz
libraries/libofx: Fix building with gcc 4.7.
This slipped through before because it only happens when libxml++ is present on the system. Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/libofx/libofx.SlackBuild')
-rw-r--r--libraries/libofx/libofx.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/libofx/libofx.SlackBuild b/libraries/libofx/libofx.SlackBuild
index 17d01f536f..3f5d932b80 100644
--- a/libraries/libofx/libofx.SlackBuild
+++ b/libraries/libofx/libofx.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libofx
VERSION=0.9.5
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,7 +65,8 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# Patch to fix compilation on gcc-4.3.x
+# Patch to fix compilation with gcc 4.7
+patch -p1 -i $CWD/libofx-0.9.5-gcc47.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \