summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rwxr-xr-xsource/n/dovecot/dovecot.SlackBuild2
-rw-r--r--source/xap/xpdf/patches/xpdf-4.02.crash.fix.diff11
-rwxr-xr-xsource/xap/xpdf/xpdf.SlackBuild3
3 files changed, 14 insertions, 2 deletions
diff --git a/source/n/dovecot/dovecot.SlackBuild b/source/n/dovecot/dovecot.SlackBuild
index 1fd640c7..108bce37 100755
--- a/source/n/dovecot/dovecot.SlackBuild
+++ b/source/n/dovecot/dovecot.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=dovecot
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
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