Hi,

Here's the NMU diff for 4.3.29-4.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?
-- 
Omnis enim res,           |  Jede Sache, die dadurch, da? man sie weitergibt,
quae dando non deficit,   |  nicht verloren geht, wird nicht auf richtige Weise
dum habetur et non datur, |  besessen, wenn man sie nur besitzt, aber nicht 
nondum habetur,           |  weitergibt. " (frei ?bersetzt)
quomodo habenda est   [ Aurelius Augustinus, 397 AD, "De doctrina christiana" ]
diff -u db4.3-4.3.29/dist/Makefile.in db4.3-4.3.29/dist/Makefile.in
--- db4.3-4.3.29/dist/Makefile.in
+++ db4.3-4.3.29/dist/Makefile.in
@@ -1666,7 +1666,7 @@
 # Java API build rules.
 ##################################################
 [EMAIL PROTECTED]@: $(srcdir)/libdb_java/db_java_wrap.c
-       $(CC) $(CFLAGS) $?
+       $(CC) $(CFLAGS) -fno-strict-aliasing $?
 
 ##################################################
 # Tcl API build rules.
@@ -1676,7 +1676,7 @@
 [EMAIL PROTECTED]@: $(srcdir)/tcl/tcl_db.c
        $(CC) $(CFLAGS) $(TCFLAGS) $?
 [EMAIL PROTECTED]@: $(srcdir)/tcl/tcl_db_pkg.c
-       $(CC) $(CFLAGS) $(TCFLAGS) $?
+       $(CC) $(CFLAGS) $(TCFLAGS) -fno-strict-aliasing $?
 [EMAIL PROTECTED]@: $(srcdir)/tcl/tcl_dbcursor.c
        $(CC) $(CFLAGS) $(TCFLAGS) $?
 [EMAIL PROTECTED]@: $(srcdir)/tcl/tcl_env.c
diff -u db4.3-4.3.29/debian/changelog db4.3-4.3.29/debian/changelog
--- db4.3-4.3.29/debian/changelog
+++ db4.3-4.3.29/debian/changelog
@@ -1,3 +1,15 @@
+db4.3 (4.3.29-4.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: #353578)
+
+ -- Rene Engelhard <[EMAIL PROTECTED]>  Tue, 28 Feb 2006 11:47:07 +0100
+
 db4.3 (4.3.29-4) unstable; urgency=low
 
   * Incorporate man pages by Thijs Kinkhorst.  closes: #302721.

Reply via email to