diff options
Diffstat (limited to 'office/abiword/abiword.SlackBuild')
-rw-r--r-- | office/abiword/abiword.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild index 1214057dfd..33f1aef690 100644 --- a/office/abiword/abiword.SlackBuild +++ b/office/abiword/abiword.SlackBuild @@ -29,7 +29,7 @@ PRGNAM=abiword VERSION=2.8.6 DOCSVER=$VERSION # version of abiword-docs -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -82,6 +82,12 @@ patch -p1 < $CWD/patches/boost_asio.patch # This should make the help stuff work properly patch -p1 < $CWD/patches/url_show.patch +# This fixes building with gcc-4.7 +sed -i "s|--no-undefined||" src/Makefile.{am,in} + +# This fixes building with glib >= 2.31 (thanks to gentoo) +patch -p0 < $CWD/patches/abiword-2.8.6-glib-2.31.patch + CPPFLAGS="-I$TMP/$PRGNAM-$VERSION" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |