[Erp5-report] r38833 luke - /erp5/trunk/patches/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 1 15:20:44 CEST 2010


Author: luke
Date: Fri Oct  1 15:20:34 2010
New Revision: 38833

URL: http://svn.erp5.org?rev=38833&view=rev
Log:
 - more patches related to compilation of pdftk on various machines

Added:
    erp5/trunk/patches/pdftk-1.41-gcc-4.4.patch
    erp5/trunk/patches/pdftk-Makefile.RedHat.additional.includes.patch

Added: erp5/trunk/patches/pdftk-1.41-gcc-4.4.patch
URL: http://svn.erp5.org/erp5/trunk/patches/pdftk-1.41-gcc-4.4.patch?rev=38833&view=auto
==============================================================================
--- erp5/trunk/patches/pdftk-1.41-gcc-4.4.patch (added)
+++ erp5/trunk/patches/pdftk-1.41-gcc-4.4.patch [utf8] Fri Oct  1 15:20:34 2010
@@ -0,0 +1,19 @@
+Took from http://bugs.gentoo.org/show_bug.cgi?id=269312
+Reformatted for easier patching.
+
+diff -NrU5 java_libs/com/lowagie/text/pdf/PdfDate.java pdftk-1.41/java_libs/com/lowagie/text/pdf/PdfDate.java
+--- java_libs/com/lowagie/text/pdf/PdfDate.java	2009-05-18 20:49:13.000000000 -0600
++++ java_libs/com/lowagie/text/pdf/PdfDate.java	2009-05-18 20:51:36.000000000 -0600
+@@ -74,11 +74,11 @@
+ public class PdfDate extends PdfString {
+     
+     // ssteward; static builds of pdftk (Windows, gcc 3.3.1) would
+     // omit this class because of its reference by reflection;
+     // this treatment ensures that ld will include it
+-    private static Class c1= gnu.java.locale.Calendar.class;
++    private static Class c1= java.util.Calendar.class;
+ 
+     private static final int dateSpace[] = {Calendar.YEAR, 4, 0, Calendar.MONTH, 2, -1, Calendar.DAY_OF_MONTH, 2, 0,
+         Calendar.HOUR_OF_DAY, 2, 0, Calendar.MINUTE, 2, 0, Calendar.SECOND, 2, 0};
+     
+     // constructors

Added: erp5/trunk/patches/pdftk-Makefile.RedHat.additional.includes.patch
URL: http://svn.erp5.org/erp5/trunk/patches/pdftk-Makefile.RedHat.additional.includes.patch?rev=38833&view=auto
==============================================================================
--- erp5/trunk/patches/pdftk-Makefile.RedHat.additional.includes.patch (added)
+++ erp5/trunk/patches/pdftk-Makefile.RedHat.additional.includes.patch [utf8] Fri Oct  1 15:20:34 2010
@@ -0,0 +1,11 @@
+--- /home/luke/work/P-SAFI/pdftk/pdftk-1.41/pdftk/Makefile.RedHat	2006-09-21 19:37:38.000000000 +0200
++++ pdftk/Makefile.RedHat	2010-10-01 14:50:10.000000000 +0200
+@@ -26,7 +26,7 @@
+ # if you want pdftk to ask before overwriting a file, set
+ # ASK_ABOUT_WARNINGS to true; otherwise: false; override this default
+ # with the dont_ask or do_ask command-line options
+-CPPFLAGS= -O2 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers
++CPPFLAGS= -O2 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers -I/usr/include/libgcj-4.4.3/
+ CXXFLAGS= -lgcj
+ 
+ # itext compiler flags




More information about the Erp5-report mailing list