slackbuilds_ponce/office/pdftk/pdftk-2.02-use-gcc5.patch
Konrad J Hambrick b29d32bd87 office/pdftk: Switch using gcc5.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2021-04-17 23:52:24 -05:00

15 lines
665 B
Diff

# 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