Author: varun-guest
Date: 2007-11-16 13:54:30 +0000 (Fri, 16 Nov 2007)
New Revision: 4770

Added:
   trunk/libfreemarker-java/debian/patches/class_name.diff
Modified:
   trunk/libfreemarker-java/debian/changelog
   trunk/libfreemarker-java/debian/patches/series
Log:
* Add patches/class_name.diff to fix the change in field name in newer
  version of jython (Closes: #450930)

Modified: trunk/libfreemarker-java/debian/changelog
===================================================================
--- trunk/libfreemarker-java/debian/changelog   2007-11-16 12:33:01 UTC (rev 
4769)
+++ trunk/libfreemarker-java/debian/changelog   2007-11-16 13:54:30 UTC (rev 
4770)
@@ -1,3 +1,10 @@
+libfreemarker-java (2.3.10-7) unstable; urgency=low
+
+  * Add patches/class_name.diff to fix the change in field name in newer
+    version of jython (Closes: #450930)
+
+ -- Varun Hiremath <[EMAIL PROTECTED]>  Fri, 16 Nov 2007 19:36:47 +0530
+
 libfreemarker-java (2.3.10-6) unstable; urgency=low
 
   * Move the package to pkg-java svn.

Added: trunk/libfreemarker-java/debian/patches/class_name.diff
===================================================================
--- trunk/libfreemarker-java/debian/patches/class_name.diff                     
        (rev 0)
+++ trunk/libfreemarker-java/debian/patches/class_name.diff     2007-11-16 
13:54:30 UTC (rev 4770)
@@ -0,0 +1,21 @@
+Index: libfreemarker-java-2.3.10/src/freemarker/ext/jython/JythonHashModel.java
+===================================================================
+--- 
libfreemarker-java-2.3.10.orig/src/freemarker/ext/jython/JythonHashModel.java   
   2007-11-16 19:31:50.000000000 +0530
++++ libfreemarker-java-2.3.10/src/freemarker/ext/jython/JythonHashModel.java   
2007-11-16 19:32:13.000000000 +0530
+@@ -137,7 +137,7 @@
+         {
+             throw new TemplateModelException(e);
+         }
+-        throw new TemplateModelException("'?keys' is not supported as there 
is no 'keys' nor 'keySet' attribute on an instance of " + 
object.__class__.__name__);
++        throw new TemplateModelException("'?keys' is not supported as there 
is no 'keys' nor 'keySet' attribute on an instance of " + object.exposed_name);
+     }
+ 
+     /**
+@@ -157,6 +157,6 @@
+         {
+             throw new TemplateModelException(e);
+         }
+-        throw new TemplateModelException("'?values' is not supported as there 
is no 'values' attribute on an instance of " + object.__class__.__name__);
++        throw new TemplateModelException("'?values' is not supported as there 
is no 'values' attribute on an instance of " + object.exposed_name);
+     }
+ }

Modified: trunk/libfreemarker-java/debian/patches/series
===================================================================
--- trunk/libfreemarker-java/debian/patches/series      2007-11-16 12:33:01 UTC 
(rev 4769)
+++ trunk/libfreemarker-java/debian/patches/series      2007-11-16 13:54:30 UTC 
(rev 4770)
@@ -1 +1,2 @@
+class_name.diff
 java-version.diff


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to