[pkg-java] r16143 - in trunk/java-gnome/debian: . patches
Niels Thykier
nthykier at alioth.debian.org
Mon Jun 18 20:37:01 UTC 2012
Author: nthykier
Date: 2012-06-18 20:37:00 +0000 (Mon, 18 Jun 2012)
New Revision: 16143
Added:
trunk/java-gnome/debian/patches/02_java7_compat.diff
Modified:
trunk/java-gnome/debian/changelog
trunk/java-gnome/debian/patches/series
Log:
Import Java7 compatability patch from Fedora.
Modified: trunk/java-gnome/debian/changelog
===================================================================
--- trunk/java-gnome/debian/changelog 2012-06-18 14:13:08 UTC (rev 16142)
+++ trunk/java-gnome/debian/changelog 2012-06-18 20:37:00 UTC (rev 16143)
@@ -1,3 +1,10 @@
+java-gnome (4.1.1-4) UNRELEASED; urgency=low
+
+ * Team upload.
+ * Pull Java7 compatability patch from Fedora.
+
+ -- Niels Thykier <niels at thykier.net> Mon, 18 Jun 2012 22:27:26 +0200
+
java-gnome (4.1.1-3) unstable; urgency=low
* Team upload.
Added: trunk/java-gnome/debian/patches/02_java7_compat.diff
===================================================================
--- trunk/java-gnome/debian/patches/02_java7_compat.diff (rev 0)
+++ trunk/java-gnome/debian/patches/02_java7_compat.diff 2012-06-18 20:37:00 UTC (rev 16143)
@@ -0,0 +1,32 @@
+Description: Compatability with Java7.
+Origin: http://pkgs.fedoraproject.org/gitweb/?p=java-gnome.git;a=commitdiff;h=4abfc555d053923e270cdff9ff23ce97c00a2ff3#patch1
+
+--- java-gnome-4.1.1/src/bindings/org/gnome/glib/Plumbing.java.orig 2011-07-11 06:34:06.000000000 +0200
++++ java-gnome-4.1.1/src/bindings/org/gnome/glib/Plumbing.java 2011-12-15 21:18:02.130046113 +0100
+@@ -153,7 +153,7 @@
+ * Retrieve an array of appropriate Java Boxeds for the given array of
+ * pointers.
+ */
+- protected static Boxed[] boxedArrayFor(final Class<?> type, final long[] pointers, Boxed[] boxeds) {
++ protected static Boxed[] boxedArrayFor(final Class<? extends Boxed> type, final long[] pointers, Boxed[] boxeds) {
+ if (pointers == null) {
+ return null;
+ }
+@@ -170,7 +170,7 @@
+ * @throw ClassCastException if the GType pointed by given pointer is not
+ * a GBoxed.
+ */
+- protected static Boxed boxedFor(Class<?> type, final long pointer) {
++ protected static Boxed boxedFor(Class<? extends Boxed> type, final long pointer) {
+ Boxed proxy;
+
+ if (pointer == 0L) {
+@@ -202,7 +202,7 @@
+ *
+ * @see #boxedFor(Class, long)
+ */
+- protected static void fillBoxedArray(Class<?> type, Boxed[] boxeds, long[] pointers) {
++ protected static void fillBoxedArray(Class<? extends Boxed> type, Boxed[] boxeds, long[] pointers) {
+ if (pointers == null) {
+ return;
+ }
Modified: trunk/java-gnome/debian/patches/series
===================================================================
--- trunk/java-gnome/debian/patches/series 2012-06-18 14:13:08 UTC (rev 16142)
+++ trunk/java-gnome/debian/patches/series 2012-06-18 20:37:00 UTC (rev 16143)
@@ -1 +1,2 @@
01_take_screenshots.diff
+02_java7_compat.diff
More information about the pkg-java-commits
mailing list