summaryrefslogtreecommitdiff
path: root/libraries/podofo/podofo.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-03-31 18:53:35 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 15:36:50 -0500
commit2a67646695cf8d3f81087ca426836cd035f23244 (patch)
tree5ddee194bce1bd13d554fd3f38f28c475d58d7a0 /libraries/podofo/podofo.SlackBuild
parent3c0c9551d37f00b8ab41f104044c433e9ac30de9 (diff)
downloadslackbuilds-2a67646695cf8d3f81087ca426836cd035f23244.tar.gz
libraries/podofo: Included a patch for gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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" \