diff options
Diffstat (limited to 'office/pdftk/pdftk-1.44-add_custom_optflags.patch')
-rw-r--r-- | office/pdftk/pdftk-1.44-add_custom_optflags.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/office/pdftk/pdftk-1.44-add_custom_optflags.patch b/office/pdftk/pdftk-1.44-add_custom_optflags.patch new file mode 100644 index 0000000000..660073115f --- /dev/null +++ b/office/pdftk/pdftk-1.44-add_custom_optflags.patch @@ -0,0 +1,26 @@ +diff -Nurp pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1 +--- pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 2010-10-25 20:04:51.000000000 +0100 ++++ pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1 2010-10-31 01:44:31.000000000 +0000 +@@ -34,7 +34,7 @@ export CXX= $(TOOLPATH)g++ + export GCJ= $(TOOLPATH)gcj + export GCJH= $(TOOLPATH)gcjh + export GJAR= $(TOOLPATH)gjar +-export LIBGCJ= /usr/share/java/libgcj$(VERSUFF).jar ++export LIBGCJ= /usr/share/java + export AR= ar + export RM= rm + export ARFLAGS= rs +@@ -71,9 +71,10 @@ export RMFLAGS= -vf + # only effects libraries following option on the command line + # + # +-export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers +-export CXXFLAGS= -Wall -Wextra -Weffc++ -O2 +-export GCJFLAGS= -Wall -fsource=1.3 -O2 ++export OPT= -O2 ++export CPPFLAGS= $(OPT) -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers ++export CXXFLAGS= $(OPT) -Wall -Wextra -Weffc++ ++export GCJFLAGS= $(OPT) -Wall -fsource=1.3 + export GCJHFLAGS= -force + export LDLIBS= -lgcj + |