packages: pdftk/pdftk-gcc-4.4.patch (NEW) - fixes build with gcc 4.4 (patch...

megabajt megabajt at pld-linux.org
Tue Dec 29 01:29:13 CET 2009


Author: megabajt                     Date: Tue Dec 29 00:29:13 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixes build with gcc 4.4 (patch by Remigiusz Marcinkiewicz <enleth at enleth.com>)

---- Files affected:
packages/pdftk:
   pdftk-gcc-4.4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/pdftk/pdftk-gcc-4.4.patch
diff -u /dev/null packages/pdftk/pdftk-gcc-4.4.patch:1.1
--- /dev/null	Tue Dec 29 01:29:13 2009
+++ packages/pdftk/pdftk-gcc-4.4.patch	Tue Dec 29 01:29:07 2009
@@ -0,0 +1,16 @@
+diff -NrU5 pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/PdfDate.java pdftk-1.41/java_libs/com/lowagie/text/pdf/PdfDate.java
+--- pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/PdfDate.java	2009-05-18 20:49:13.000000000 -0600
++++ pdftk-1.41/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
================================================================


More information about the pld-cvs-commit mailing list