Ticket #15420: osx-gcc45.patch
File osx-gcc45.patch, 10.8 KB (added by pinny@…, 14 years ago) |
---|
-
pdftk-1.41/java_libs/com/lowagie/text/pdf/fonts/Makefile
21 21 22 22 %.o : %.java 23 23 $(GCJ) $(GCJFLAGS) -c $< -o $@ 24 nmedit -R "$(java_libs_root)/remove_symbols" $@ 24 25 25 26 %.class : %.java 26 27 $(GCJ) $(GCJFLAGS) -C $< … … 34 35 # the "$*" automatic variable, here 35 36 # 36 37 %.h : %.class 37 $(GCJH) --classpath="." $*; 38 $(RM) $< 38 $(GCJH) --classpath="$(java_libs_root):." $*; 39 39 40 40 ## 41 41 # targets -
pdftk-1.41/java_libs/com/lowagie/text/markup/Makefile
17 17 18 18 %.o : %.java 19 19 $(GCJ) $(GCJFLAGS) -c $< -o $@ 20 nmedit -R "$(java_libs_root)/remove_symbols" $@ 20 21 21 22 %.class : %.java 22 23 $(GCJ) $(GCJFLAGS) -C $< … … 25 26 # the "$*" automatic variable, here 26 27 # 27 28 %.h : %.class 28 $(GCJH) --classpath="." $*; 29 $(RM) $< 29 $(GCJH) --classpath="$(java_libs_root):." $*; 30 30 31 31 ## 32 32 # targets -
pdftk-1.41/java_libs/Makefile
13 13 # append gcj flags 14 14 export GCJFLAGS+= --encoding=UTF-8 --classpath="$(java_libs_root)" 15 15 16 all : libgcj_localitext16 all : itext 17 17 18 libgcj_local :19 $(MAKE) -C "$(java_libs_root)/gnu_local/java/security";20 $(MAKE) -C "$(java_libs_root)/gnu_local/java/security/provider";21 $(MAKE) -C "$(java_libs_root)/gnu/gcj/convert";22 $(MAKE) -C "$(java_libs_root)/java_local/security";23 24 18 itext : 25 19 $(MAKE) -C "$(java_libs_root)/com/lowagie/text"; 26 20 # $(MAKE) -C "$(java_libs_root)/com/lowagie/text/html"; … … 35 29 $(MAKE) -C "$(java_libs_root)/com/lowagie/bc/asn1"; 36 30 $(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf/codec/postscript"; 37 31 38 clean : libgcj_local_cleanitext_clean32 clean : itext_clean 39 33 40 libgcj_local_clean :41 $(MAKE) -iC "$(java_libs_root)/gnu_local/java/security" clean;42 $(MAKE) -iC "$(java_libs_root)/gnu_local/java/security/provider" clean;43 $(MAKE) -iC "$(java_libs_root)/gnu/gcj/convert" clean;44 $(MAKE) -iC "$(java_libs_root)/java_local/security" clean;45 46 34 itext_clean : 47 35 $(MAKE) -iC "$(java_libs_root)/com/lowagie/text" clean; 48 36 # $(MAKE) -iC "$(java_libs_root)/com/lowagie/text/html" clean; -
pdftk-1.41/java_libs/com/lowagie/text/pdf/PdfEncryption.java
50 50 51 51 package com.lowagie.text.pdf; 52 52 53 import java _local.security.MessageDigest; // ssteward53 import java.security.MessageDigest; 54 54 import com.lowagie.text.ExceptionConverter; 55 55 56 56 /** -
pdftk-1.41/java_libs/com/lowagie/text/pdf/PdfDate.java
76 76 // ssteward; static builds of pdftk (Windows, gcc 3.3.1) would 77 77 // omit this class because of its reference by reflection; 78 78 // this treatment ensures that ld will include it 79 private static Class c1= gnu.java.locale.Calendar.class;79 private static Class c1= java.util.Calendar.class; 80 80 81 81 private static final int dateSpace[] = {Calendar.YEAR, 4, 0, Calendar.MONTH, 2, -1, Calendar.DAY_OF_MONTH, 2, 0, 82 82 Calendar.HOUR_OF_DAY, 2, 0, Calendar.MINUTE, 2, 0, Calendar.SECOND, 2, 0}; -
pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/postscript/Makefile
17 17 18 18 %.o : %.java 19 19 $(GCJ) $(GCJFLAGS) -c $< -o $@ 20 nmedit -R "$(java_libs_root)/remove_symbols" $@ 20 21 21 22 %.class : %.java 22 23 $(GCJ) $(GCJFLAGS) -C $< … … 25 26 # the "$*" automatic variable, here 26 27 # 27 28 %.h : %.class 28 $(GCJH) --classpath="." $*; 29 $(RM) $< 29 $(GCJH) --classpath="$(java_libs_root):." $*; 30 30 31 31 ## 32 32 # targets -
pdftk-1.41/java_libs/com/lowagie/text/xml/xmp/Makefile
17 17 18 18 %.o : %.java 19 19 $(GCJ) $(GCJFLAGS) -c $< -o $@ 20 nmedit -R "$(java_libs_root)/remove_symbols" $@ 20 21 21 22 %.class : %.java 22 23 $(GCJ) $(GCJFLAGS) -C $< … … 25 26 # the "$*" automatic variable, here 26 27 # 27 28 %.h : %.class 28 $(GCJH) --classpath="." $*; 29 $(RM) $< 29 $(GCJH) --classpath="$(java_libs_root):." $*; 30 30 31 31 ## 32 32 # targets -
pdftk-1.41/java_libs/com/lowagie/bc/asn1/Makefile
17 17 18 18 %.o : %.java 19 19 $(GCJ) $(GCJFLAGS) -c $< -o $@ 20 nmedit -R "$(java_libs_root)/remove_symbols" $@ 20 21 21 22 %.class : %.java 22 23 $(GCJ) $(GCJFLAGS) -C $< … … 25 26 # the "$*" automatic variable, here 26 27 # 27 28 %.h : %.class 28 $(GCJH) --classpath="." $*; 29 $(RM) $< 29 $(GCJH) --classpath="$(java_libs_root):." $*; 30 30 31 31 ## 32 32 # targets -
pdftk-1.41/java_libs/com/lowagie/text/Makefile
17 17 18 18 %.o : %.java 19 19 $(GCJ) $(GCJFLAGS) -c $< -o $@ 20 nmedit -R "$(java_libs_root)/remove_symbols" $@ 20 21 21 22 %.class : %.java 22 23 $(GCJ) $(GCJFLAGS) -C $< … … 25 26 # the "$*" automatic variable, here 26 27 # 27 28 %.h : %.class 28 $(GCJH) --classpath="." $*; 29 $(RM) $< 29 $(GCJH) --classpath="$(java_libs_root):." $*; 30 30 31 31 ## 32 32 # targets -
pdftk-1.41/pdftk/Makefile.Generic
11 11 # 12 12 13 13 # tools 14 TOOLPATH= 15 VERSUFF= 14 TOOLPATH= /opt/local/bin/ 15 VERSUFF= -mp-4.5 16 16 CXX= $(TOOLPATH)g++$(VERSUFF) 17 17 export GCJ= $(TOOLPATH)gcj$(VERSUFF) 18 18 export GCJH= $(TOOLPATH)gcjh$(VERSUFF) … … 24 24 # ASK_ABOUT_WARNINGS to true; otherwise: false; override this default 25 25 # with the dont_ask or do_ask command-line options 26 26 CPPFLAGS= -O2 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers 27 CXXFLAGS= -lgcj 27 CXXFLAGS= -lgcj /opt/local/lib/libiconv.2.dylib 28 28 29 29 # itext compiler flags 30 30 # -O3 might cause pdftk to segfault on cat operation (gcc 3.4.4) 31 export GCJFLAGS= -O2 31 export GCJFLAGS= -O2 -w 32 32 33 33 # 34 34 export ARFLAGS= rs -
pdftk-1.41/java_libs/remove_symbols
1 __ZGr8_$_dummy 2 No newline at end of file -
pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/Makefile
17 17 18 18 %.o : %.java 19 19 $(GCJ) $(GCJFLAGS) -c $< -o $@ 20 nmedit -R "$(java_libs_root)/remove_symbols" $@ 20 21 21 22 %.class : %.java 22 23 $(GCJ) $(GCJFLAGS) -C $< … … 25 26 # the "$*" automatic variable, here 26 27 # 27 28 %.h : %.class 28 $(GCJH) --classpath="." $*; 29 $(RM) $< 29 $(GCJH) --classpath="$(java_libs_root):." $*; 30 30 31 31 ## 32 32 # targets -
pdftk-1.41/pdftk/Makefile.Base
31 31 afms= $(wildcard $(java_libs_root)/com/lowagie/text/pdf/fonts/*.afm) 32 32 afm_objects= $(patsubst %.afm, %.o, $(afms)) 33 33 34 # older versions of libgcj might not have the MD5 algorithm,35 # so I added it here; these *_local java files were grabbed from36 # libgcj CVS on March 7, 2004; diffed September 5, 2006 w/ gcc 4.1.137 #38 # gnu/gcj/convert/Input_UnicodeBig.java was grabbed March 26, 2004; diffed September 5, 2006 w/ gcc 4.1.139 #40 libgcj_local_libs = \41 $(java_libs_root)/java_local/security/security.a \42 $(java_libs_root)/gnu_local/java/security/provider/provider.a \43 $(java_libs_root)/gnu_local/java/security/security.a \44 $(java_libs_root)/gnu/gcj/convert/convert.a45 46 34 # this must already be set according to your platform Makefile; 47 35 # we're just appending to it, here 48 36 # 49 CPPFLAGS += -DPDFTK_VER=\"1.41 \"37 CPPFLAGS += -DPDFTK_VER=\"1.41-r2\" 50 38 51 39 all : java_libs pdftk 52 40 -
pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/wmf/Makefile
17 17 18 18 %.o : %.java 19 19 $(GCJ) $(GCJFLAGS) -c $< -o $@ 20 nmedit -R "$(java_libs_root)/remove_symbols" $@ 20 21 21 22 %.class : %.java 22 23 $(GCJ) $(GCJFLAGS) -C $< … … 25 26 # the "$*" automatic variable, here 26 27 # 27 28 %.h : %.class 28 $(GCJH) --classpath="." $*; 29 $(RM) $< 29 $(GCJH) --classpath="$(java_libs_root):." $*; 30 30 31 31 ## 32 32 # targets -
pdftk-1.41/java_libs/com/lowagie/text/pdf/Makefile
17 17 18 18 %.o : %.java 19 19 $(GCJ) $(GCJFLAGS) -c $< -o $@ 20 nmedit -R "$(java_libs_root)/remove_symbols" $@ 20 21 21 22 %.class : %.java 22 23 $(GCJ) $(GCJFLAGS) -C $< … … 25 26 # the "$*" automatic variable, here 26 27 # 27 28 %.h : %.class 28 $(GCJH) --classpath="." $*; 29 $(RM) $< 29 $(GCJH) --classpath="$(java_libs_root):." $*; 30 30 31 31 ## 32 32 # targets