[105746] trunk/dports/java/xercesj

cal at macports.org cal at macports.org
Sat May 4 04:05:56 PDT 2013


Revision: 105746
          https://trac.macports.org/changeset/105746
Author:   cal at macports.org
Date:     2013-05-04 04:05:56 -0700 (Sat, 04 May 2013)
Log Message:
-----------
xercesj: fix build error, closes #37217

Modified Paths:
--------------
    trunk/dports/java/xercesj/Portfile

Added Paths:
-----------
    trunk/dports/java/xercesj/files/patch-src_org_apache_html_dom_HTMLElementImpl.java-add-getContentDocument-DOM2-method.diff

Modified: trunk/dports/java/xercesj/Portfile
===================================================================
--- trunk/dports/java/xercesj/Portfile	2013-05-04 09:42:45 UTC (rev 105745)
+++ trunk/dports/java/xercesj/Portfile	2013-05-04 11:05:56 UTC (rev 105746)
@@ -37,7 +37,10 @@
 worksrcdir			xerces-[string map ". _" $version]
 set tools			tools
 
-patchfiles          build.xml.patch
+patchfiles          build.xml.patch \
+                    patch-src_org_apache_html_dom_HTMLElementImpl.java-add-getContentDocument-DOM2-method.diff
+                    # See #37217 and https://issues.apache.org/jira/browse/XERCESJ-983?page=all
+                    # This patch might not be the best way to fix this issue, though.
 
 use_configure		no
 

Added: trunk/dports/java/xercesj/files/patch-src_org_apache_html_dom_HTMLElementImpl.java-add-getContentDocument-DOM2-method.diff
===================================================================
--- trunk/dports/java/xercesj/files/patch-src_org_apache_html_dom_HTMLElementImpl.java-add-getContentDocument-DOM2-method.diff	                        (rev 0)
+++ trunk/dports/java/xercesj/files/patch-src_org_apache_html_dom_HTMLElementImpl.java-add-getContentDocument-DOM2-method.diff	2013-05-04 11:05:56 UTC (rev 105746)
@@ -0,0 +1,18 @@
+--- src/org/apache/html/dom/HTMLElementImpl.java.orig	2013-01-21 10:27:18.000000000 -0800
++++ src/org/apache/html/dom/HTMLElementImpl.java	2013-01-21 10:31:36.000000000 -0800
+@@ -20,6 +20,7 @@
+ 
+ import org.apache.xerces.dom.ElementImpl;
+ import org.w3c.dom.Attr;
++import org.w3c.dom.Document;
+ import org.w3c.dom.Node;
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.html.HTMLElement;
+@@ -254,4 +255,7 @@
+         return null;
+     }
+ 
++    public Document getContentDocument() {
++        throw new UnsupportedOperationException();
++    }
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130504/3faaef02/attachment-0001.html>


More information about the macports-changes mailing list