summaryrefslogtreecommitdiffstats
path: root/office/pdftk/pdftk-2.02-use-gcc5.patch
diff options
context:
space:
mode:
author Matteo Bernardini2018-07-21 18:30:25 +0200
committer Matteo Bernardini2018-07-21 18:30:25 +0200
commitedc3e434486c95e7ee8e227def485cc9e068f377 (patch)
tree85312122d425cbf4fcc00475938a40451c4dc97c /office/pdftk/pdftk-2.02-use-gcc5.patch
parentec1a4a932c386f509cf24092be7aa38837d57ddd (diff)
downloadslackbuilds-edc3e434486c95e7ee8e227def485cc9e068f377.tar.gz
20180721.2 global branch merge.current-20180722.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