summaryrefslogtreecommitdiffstats
path: root/inkscape/build
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-11-05 18:25:47 +0000
committer Eric Hameleers <alien@slackware.com>2021-11-05 18:25:47 +0000
commit62d452c021275f823374f5f51a9959225c488e38 (patch)
tree361e3dd3de8d4691c78fc4008506525088bd08ed /inkscape/build
parentd723d551caf53d04d172957e479aed59b305a24c (diff)
downloadasb-62d452c021275f823374f5f51a9959225c488e38.tar.gz
asb-62d452c021275f823374f5f51a9959225c488e38.tar.xz
inkscape: fix build against poppler-21.11.0 (patch from Arch Linux)
Diffstat (limited to 'inkscape/build')
-rwxr-xr-xinkscape/build/inkscape.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/inkscape/build/inkscape.SlackBuild b/inkscape/build/inkscape.SlackBuild
index 7673606f..5f6239b6 100755
--- a/inkscape/build/inkscape.SlackBuild
+++ b/inkscape/build/inkscape.SlackBuild
@@ -159,6 +159,10 @@ cd ${PRGNAM}-${VERSION} 2>/dev/null || cd ${PRGNAM}-${VERSION}_*
# Fix build failure with glibc 2.32:
sed -i src/ui/tool/node.cpp -e '/#include <iostream>/a #include <atomic>'
+# Fix build against poppler-21.11.0 (patch from Arch Linux):
+cat $SRCDIR/patches/inkscape_poppler_21.11.0.patch | patch -p1 --verbose \
+ 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
+
# Fix man page location:
sed -i CMakeScripts/Pod2man.cmake -e "s/SHARE_INSTALL/CMAKE_INSTALL_PREFIX/g"
@@ -180,7 +184,8 @@ cd build-${PRGNAM}
-DWITH_DBUS=ON \
-DWITH_GRAPHICS_MAGICK=ON \
-DWITH_IMAGE_MAGICK=OFF \
- ..
+ .. \
+ 2>&1 | tee $OUTPUT/configure-${PRGNAM}.log
make $NUMJOBS 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
make DESTDIR=$PKG install 2>&1 | tee $OUTPUT/install-${PRGNAM}.log
cd -