summaryrefslogtreecommitdiff
path: root/libraries/podofo/podofo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/podofo/podofo.SlackBuild')
-rw-r--r--libraries/podofo/podofo.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/podofo/podofo.SlackBuild b/libraries/podofo/podofo.SlackBuild
index 740f6ea597..83a66fd7d0 100644
--- a/libraries/podofo/podofo.SlackBuild
+++ b/libraries/podofo/podofo.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=podofo
VERSION=0.9.1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -54,6 +54,10 @@ find . \
# Fix mandir directory.
sed -i 's|share/man|man|' CMakeLists.txt
+# Fix building with gcc-4.7.x
+# http://sourceforge.net/tracker/?func=detail&aid=3474494&group_id=154028&atid=790130
+patch -p1 < $CWD/podofo-0.9.1-unistd.patch
+
mkdir build
cd build
cmake -G "Unix Makefiles" \