Author: nd-guest
Date: 2008-03-27 18:31:07 +0000 (Thu, 27 Mar 2008)
New Revision: 1464

Added:
   packages/josm-plugins/trunk/debian/patches/21_validator.dpatch
Modified:
   packages/josm-plugins/trunk/debian/patches/00list
Log:
Add patch for validator plugin to compile with gcj.


Modified: packages/josm-plugins/trunk/debian/patches/00list
===================================================================
--- packages/josm-plugins/trunk/debian/patches/00list   2008-03-27 17:33:20 UTC 
(rev 1463)
+++ packages/josm-plugins/trunk/debian/patches/00list   2008-03-27 18:31:07 UTC 
(rev 1464)
@@ -1,5 +1,6 @@
 10_build
 20_validator
+21_validator
 30_utilsplugin
 40_wmsplugin
 50_livegps

Added: packages/josm-plugins/trunk/debian/patches/21_validator.dpatch
===================================================================
--- packages/josm-plugins/trunk/debian/patches/21_validator.dpatch              
                (rev 0)
+++ packages/josm-plugins/trunk/debian/patches/21_validator.dpatch      
2008-03-27 18:31:07 UTC (rev 1464)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 21_validator.dpatch by Andreas Putzo <[EMAIL PROTECTED]>
+##
+## DP: Add cast operator for OsmPrimitive.
+## DP: This is necessary to compile with gcj.
+
[EMAIL PROTECTED]@
+diff -urNad 
josm-plugins-0.0.0.20080326~/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java
 
josm-plugins-0.0.0.20080326/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java
+--- 
josm-plugins-0.0.0.20080326~/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java
  2008-01-14 11:16:12.000000000 +0000
++++ 
josm-plugins-0.0.0.20080326/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java
   2008-03-27 18:26:55.000000000 +0000
+@@ -504,7 +504,7 @@
+                               String key = prop.getKey();
+                               String value = prop.getValue();
+                               if( value == null || value.trim().length() == 0 
)
+-                                      commands.add( new 
ChangePropertyCommand(Collections.singleton(primitives.get(i)), key, null) );
++                                      commands.add( new 
ChangePropertyCommand(Collections.singleton((OsmPrimitive)primitives.get(i)), 
key, null) );
+                               else
+                               {
+                                       String replacementKey = 
spellCheckKeyData.get(key);


Property changes on: 
packages/josm-plugins/trunk/debian/patches/21_validator.dpatch
___________________________________________________________________
Name: svn:executable
   + *


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to