summaryrefslogtreecommitdiffstats
path: root/office/pdftk/pdftk-2.02-use-gcc5.patch
diff options
context:
space:
mode:
author Matteo Bernardini2018-10-06 08:26:41 +0200
committer Matteo Bernardini2018-10-06 08:26:41 +0200
commit389b3c43f33cdd25ba13cfc9b5ee1674106fbc13 (patch)
treedd8081a1bc6dbfeec30e68b4774b144864f2bef0 /office/pdftk/pdftk-2.02-use-gcc5.patch
parent4f4d6a32cce667ebff01e9d73878e4894c0328d4 (diff)
downloadslackbuilds-current-20181006.1.tar.gz
20181006.1 global branch merge.current-20181006.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/pdftk/pdftk-2.02-use-gcc5.patch')
-rw-r--r--office/pdftk/pdftk-2.02-use-gcc5.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/office/pdftk/pdftk-2.02-use-gcc5.patch b/office/pdftk/pdftk-2.02-use-gcc5.patch
new file mode 100644
index 0000000000..d1e6e124de
--- /dev/null
+++ b/office/pdftk/pdftk-2.02-use-gcc5.patch
@@ -0,0 +1,15 @@
+# diff -Nurp pdftk/Makefile.Slackware-13.1.orig pdftk/Makefile.Slackware-13.1
+--- orig/pdftk/Makefile.Slackware-13.1 2013-07-24 13:27:46.000000000 -0500
++++ pdftk/Makefile.Slackware-13.1 2018-03-04 06:20:55.312900883 -0600
+@@ -21,8 +21,9 @@
+ # tools
+ # need direct path to libgcj for gcjh (starting in gcj 4.1.2 per AurĂ©lien GĂRĂME)
+ TOOLPATH=
+-export VERSUFF=-4.4.4
+-export CXX= $(TOOLPATH)g++
++GCCMAJORTAG=-5 # kjh was here
++export VERSUFF=-5.5.0 # kjh was here
++export CXX= $(TOOLPATH)g++$(GCCMAJORTAG) # kjh was here
+ export GCJ= $(TOOLPATH)gcj
+ export GCJH= $(TOOLPATH)gcjh
+ export GJAR= $(TOOLPATH)gjar