summaryrefslogtreecommitdiff
path: root/source/xap
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-10-08 19:11:03 +0000
committerEric Hameleers <alien@slackware.com>2019-10-09 08:59:50 +0200
commitc64eae2230c159a7eaf03cd1404acabfbf9ac279 (patch)
tree80c9a74a191810e5833a010ed1b8f695e515e122 /source/xap
parent1bfc1a110ba1db457cc2dfca57c9a238317a7843 (diff)
downloadcurrent-c64eae2230c159a7eaf03cd1404acabfbf9ac279.tar.gz
Tue Oct 8 19:11:03 UTC 201920191008191103
a/kernel-firmware-20191008_aa95e90-noarch-1.txz: Upgraded. ap/cups-filters-1.25.7-x86_64-1.txz: Upgraded. l/at-spi2-atk-2.34.1-x86_64-1.txz: Upgraded. l/dconf-editor-3.34.2-x86_64-1.txz: Upgraded. l/gdk-pixbuf2-2.40.0-x86_64-1.txz: Upgraded. l/librsvg-2.46.1-x86_64-1.txz: Upgraded. l/vte-0.58.1-x86_64-1.txz: Upgraded. n/dovecot-2.3.8-x86_64-1.txz: Upgraded. xap/xpdf-4.02-x86_64-2.txz: Rebuilt. Applied crash fix patch from Poprocks.
Diffstat (limited to 'source/xap')
-rw-r--r--source/xap/xpdf/patches/xpdf-4.02.crash.fix.diff11
-rwxr-xr-xsource/xap/xpdf/xpdf.SlackBuild3
2 files changed, 13 insertions, 1 deletions
diff --git a/source/xap/xpdf/patches/xpdf-4.02.crash.fix.diff b/source/xap/xpdf/patches/xpdf-4.02.crash.fix.diff
new file mode 100644
index 00000000..3a65985a
--- /dev/null
+++ b/source/xap/xpdf/patches/xpdf-4.02.crash.fix.diff
@@ -0,0 +1,11 @@
+--- ./xpdf/GlobalParams.cc.orig 2019-09-25 14:54:33.000000000 -0500
++++ ./xpdf/GlobalParams.cc 2019-10-08 13:33:36.526738508 -0500
+@@ -568,7 +568,7 @@
+ FcFontSetDestroy(fontSet);
+ }
+
+- FcFini();
++ // FcFini(); Commented out to fix crash
+ }
+ #endif // HAVE_FONTCONFIG
+
diff --git a/source/xap/xpdf/xpdf.SlackBuild b/source/xap/xpdf/xpdf.SlackBuild
index d0d119d0..a6bee8ee 100755
--- a/source/xap/xpdf/xpdf.SlackBuild
+++ b/source/xap/xpdf/xpdf.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=xpdf
VERSION=4.02
PATCHLEVEL=
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -80,6 +80,7 @@ find . \
-exec chmod 644 {} \+
zcat $CWD/patches/xpdfrc.diff.gz | patch -p1 --verbose || exit 1
+zcat $CWD/patches/xpdf-4.02.crash.fix.diff.gz | patch -p1 --verbose || exit 1
mkdir build
cd build