<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">ArTourter --<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">I documented what I had to do after to build pdftk installing Alien Bob's gcc5.SlackBuild on Slackware64-current in this thread on LQ:  <br><br><a href="https://www.linuxquestions.org/questions/slackware-14/building-pdftk-on-slackware-15-0-current-4175624922/">https://www.linuxquestions.org/questions/slackware-14/building-pdftk-on-slackware-15-0-current-4175624922/</a><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">These three patch files modify the SlackBuild Files:<br><br>   -rw-r--r-- 1 root root  497 Mar  4 07:39 /home/tmp/README-Slackware-15.0.patch.txt<br>   -rw-r--r-- 1 root root  694 Mar  4 07:40 /home/tmp/pdftk.SlackBuild-Slackware-15.0.patch.txt<br>   -rw-r--r-- 1 root root  300 Mar  4 07:40 /home/tmp/pdftk.info-Slackware-15.0.patch.txt<br><br>This patch file replaces the existing pdftk-1.44-add_custom_optflags.patch for Slackware -current + gcc5 in the SlackBuild Directory:<br><br>   -rw-r--r-- 1 root root  665 Mar  4 07:40 /home/tmp/pdftk-2.02-on-Slackware-15.patch.txt<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">I imagine there is a better way than my kludgy SLACKVER=15 Variable to differentiate Slackware 15.0 from Slackware 14.2 in the pdftk.SlackBuild.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">The only real change was to force GXX=gcc-5 in the pdftk/Makefile.Slackware-13.1 Makefile ...<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Thanks for the pdftk.SlackBuild ArTourter -- it is an essential tool where I work !<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">-- kjh<br></div></div>