Ticket #22736: jakarta-taglibs-standard-11-JDK-1.6.diff
File jakarta-taglibs-standard-11-JDK-1.6.diff, 1.9 KB (added by nox@…, 15 years ago) |
---|
-
files/patch-JDK-1.6.diff
1 --- src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java.orig 2004-10-25 22:26:22.000000000 +0200 2 +++ src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java 2009-11-28 14:53:09.000000000 +0100 3 @@ -111,5 +111,19 @@ 4 throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); 5 } 6 7 + /** 8 + * Always throws a SQLException. Not supported. 9 + */ 10 + public boolean isWrapperFor(Class<?> iface) throws SQLException { 11 + throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); 12 + } 13 + 14 + /** 15 + * Always throws a SQLException. Not supported. 16 + */ 17 + public <T> T unwrap(Class<T> iface) throws SQLException { 18 + throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); 19 + } 20 + 21 22 } -
Portfile
14 14 long_description A version of the JSP Standard Tag Library (JSTL) adhering \ 15 15 to the JSP JSTL 1.1 specification. Requires a JSP 2.0 \ 16 16 compatible web container, such as Tomcat5. 17 homepage http:// jakarta.apache.org/taglibs/doc/standard-doc/17 homepage http://tomcat.apache.org/taglibs/standard/ 18 18 19 19 distname jakarta-taglibs-standard-${version}-src 20 20 master_sites apache:jakarta/taglibs/standard/source/ … … 61 61 62 62 destroot { 63 63 # Ensure needed directories 64 xinstall - m 755 -d \64 xinstall -d \ 65 65 ${destroot}${prefix}/share/java \ 66 66 ${destroot}${prefix}/share/doc \ 67 67 ${destroot}${prefix}/share/examples … … 83 83 ${worksrcpath}/examples \ 84 84 ${destroot}${prefix}/share/examples/${name} 85 85 } 86 87 platform darwin 10 { 88 patchfiles-append patch-JDK-1.6.diff 89 }