[Pkg-db-devel] Bug#353579: NMU diff

Rene Engelhard rene at debian.org
Tue Feb 28 17:55:32 UTC 2006


Hi,

Here's the NMU diff for 4.2.52-23.1. I took Matthias' patch, changed
the changelog a bit and left out the include changes for this NMU since
the scope is to fix the Java bug..
Although that part should be applied in some later version...

Grüße/Regards,

René
-- 
"Think how much fear is going to be required to stop people from
passing along copies of things on their computers. I hope you don't
want to live in a world with that much fear."
		-- Richard M. Stallman, 7/1999
-------------- next part --------------
diff -u db4.2-4.2.52/dist/Makefile.in db4.2-4.2.52/dist/Makefile.in
--- db4.2-4.2.52/dist/Makefile.in
+++ db4.2-4.2.52/dist/Makefile.in
@@ -1519,7 +1519,7 @@
 # Java API build rules.
 ##################################################
 db_java_wrap at o@::$(srcdir)/libdb_java/db_java_wrap.c
-	$(CC_DRIVER) $(CFLAGS) $?
+	$(CC_DRIVER) $(CFLAGS) -fno-strict-aliasing $?
 
 ##################################################
 # Tcl API build rules.
@@ -1529,7 +1529,7 @@
 tcl_db at o@: $(srcdir)/tcl/tcl_db.c
 	$(CC_DRIVER) $(CFLAGS) $(TCFLAGS) $?
 tcl_db_pkg at o@: $(srcdir)/tcl/tcl_db_pkg.c
-	$(CC_DRIVER) $(CFLAGS) $(TCFLAGS) $?
+	$(CC_DRIVER) $(CFLAGS) $(TCFLAGS) -fno-strict-aliasing $?
 tcl_dbcursor at o@: $(srcdir)/tcl/tcl_dbcursor.c
 	$(CC_DRIVER) $(CFLAGS) $(TCFLAGS) $?
 tcl_env at o@: $(srcdir)/tcl/tcl_env.c
diff -u db4.2-4.2.52/debian/changelog db4.2-4.2.52/debian/changelog
--- db4.2-4.2.52/debian/changelog
+++ db4.2-4.2.52/debian/changelog
@@ -1,3 +1,15 @@
+db4.2 (4.2.52-23.1) unstable; urgency=low
+
+  * NMU blessd by maintainer
+  * add patch from Matthias Klose:
+    - gcc always generates correct code (tm), just don't ignore the hundreds
+      of warnings compiling db_java_wrap.c but use -fno-strict-aliasing.
+      Stops miscompilation of the java wrapper. The weekend can begin :-/
+    - tcl_db_pkg.c: Likewise.
+    (closes: #353579)
+ 
+ -- Rene Engelhard <rene at debian.org>  Tue, 28 Feb 2006 11:25:12 +0100
+
 db4.2 (4.2.52-23) unstable; urgency=low
 
   * Based on evidence from the buildds that Java is still broken on some


More information about the Pkg-db-devel mailing list