summaryrefslogtreecommitdiff
path: root/python/pypoppler/pypoppler.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pypoppler/pypoppler.SlackBuild')
-rw-r--r--python/pypoppler/pypoppler.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/pypoppler/pypoppler.SlackBuild b/python/pypoppler/pypoppler.SlackBuild
index 3daca31ae4..1d723c8e1e 100644
--- a/python/pypoppler/pypoppler.SlackBuild
+++ b/python/pypoppler/pypoppler.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=pypoppler
VERSION=0.12.1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -48,6 +48,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix building with poppler 0.15+ and some upstream fixes.
+patch -p0 < $CWD/patches/pypoppler-0.12.1-75_74.diff
+patch -p0 < $CWD/patches/pypoppler-0.12.1-76_75.diff
+patch -p0 < $CWD/patches/pypoppler-0.12.1-79_78.diff
+patch -p0 < $CWD/patches/poppler0.15.0-changes.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \