summaryrefslogtreecommitdiffstats
path: root/office/pdftk/pdftk-2.02-use-gcc5.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-05-01 09:57:15 +0200
committer Matteo Bernardini2019-05-01 09:57:15 +0200
commit1ea5e7f013581bee3512b5eb0a6f810b1578d6ba (patch)
tree7a81b0dc19351b9c924e08050c6be21fff8565cd /office/pdftk/pdftk-2.02-use-gcc5.patch
parenta7ecdbba095706df06b24afd23e97aaf57621fba (diff)
downloadslackbuilds-1ea5e7f013581bee3512b5eb0a6f810b1578d6ba.tar.gz
20190501.1 global branch merge.current-20190501.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