pdftk-2.02-use-gcc5.patch 665 B

12345678910111213141516
  1. # diff -Nurp pdftk/Makefile.Slackware-13.1.orig pdftk/Makefile.Slackware-13.1
  2. --- orig/pdftk/Makefile.Slackware-13.1 2013-07-24 13:27:46.000000000 -0500
  3. +++ pdftk/Makefile.Slackware-13.1 2018-03-04 06:20:55.312900883 -0600
  4. @@ -21,8 +21,9 @@
  5. # tools
  6. # need direct path to libgcj for gcjh (starting in gcj 4.1.2 per Aurélien GÃRÃME)
  7. TOOLPATH=
  8. -export VERSUFF=-4.4.4
  9. -export CXX= $(TOOLPATH)g++
  10. +GCCMAJORTAG=-5 # kjh was here
  11. +export VERSUFF=-5.5.0 # kjh was here
  12. +export CXX= $(TOOLPATH)g++$(GCCMAJORTAG) # kjh was here
  13. export GCJ= $(TOOLPATH)gcj
  14. export GCJH= $(TOOLPATH)gcjh
  15. export GJAR= $(TOOLPATH)gjar