Bug#667215: add patch

Matthias Klose doko at debian.org
Fri May 4 07:13:49 UTC 2012


tags 667215 + patch
thanks

-------------- next part --------------
diff -Nru jffi-1.0.2/debian/changelog jffi-1.0.2/debian/changelog
--- jffi-1.0.2/debian/changelog	2011-09-17 10:32:27.000000000 +0000
+++ jffi-1.0.2/debian/changelog	2012-05-04 06:54:14.000000000 +0000
@@ -1,3 +1,10 @@
+jffi (1.0.2-8.1) unstable; urgency=low
+
+  * Non maintainer upload.
+  * Fix build failure with GCC 4.7. Closes: #667215.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 04 May 2012 08:53:38 +0200
+
 jffi (1.0.2-8) unstable; urgency=low
 
   * Add version restriction to Depends: libjffi-jni.
diff -Nru jffi-1.0.2/debian/patches/ftbfs-gcc-4.7.diff jffi-1.0.2/debian/patches/ftbfs-gcc-4.7.diff
--- jffi-1.0.2/debian/patches/ftbfs-gcc-4.7.diff	1970-01-01 00:00:00.000000000 +0000
+++ jffi-1.0.2/debian/patches/ftbfs-gcc-4.7.diff	2012-05-04 06:53:35.000000000 +0000
@@ -0,0 +1,13 @@
+Index: jffi-1.0.2/jni/GNUmakefile
+===================================================================
+--- jffi-1.0.2.orig/jni/GNUmakefile	2012-05-04 06:51:42.000000000 +0000
++++ jffi-1.0.2/jni/GNUmakefile	2012-05-04 06:53:31.683801231 +0000
+@@ -156,7 +156,7 @@
+ endif
+ 
+ ifeq ($(OS), linux)
+-  SOFLAGS = -shared -mimpure-text -static-libgcc -Wl,-soname,$(@F) -Wl,-O1
++  SOFLAGS = -shared -static-libgcc -Wl,-soname,$(@F) -Wl,-O1
+   CFLAGS += -pthread
+ endif
+ 
diff -Nru jffi-1.0.2/debian/patches/series jffi-1.0.2/debian/patches/series
--- jffi-1.0.2/debian/patches/series	2011-09-17 10:32:27.000000000 +0000
+++ jffi-1.0.2/debian/patches/series	2012-05-04 06:53:11.000000000 +0000
@@ -2,3 +2,4 @@
 0002-ignore-test-failures.patch
 0003-do-not-add-m32-or-m64-to-CC-and-LD.patch
 0004-load-jffi-native.jar-from-system-directory.patch
+ftbfs-gcc-4.7.diff


More information about the pkg-java-maintainers mailing list