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
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. ################################################## [EMAIL PROTECTED]@::$(srcdir)/libdb_java/db_java_wrap.c - $(CC_DRIVER) $(CFLAGS) $? + $(CC_DRIVER) $(CFLAGS) -fno-strict-aliasing $? ################################################## # Tcl API build rules. @@ -1529,7 +1529,7 @@ [EMAIL PROTECTED]@: $(srcdir)/tcl/tcl_db.c $(CC_DRIVER) $(CFLAGS) $(TCFLAGS) $? [EMAIL PROTECTED]@: $(srcdir)/tcl/tcl_db_pkg.c - $(CC_DRIVER) $(CFLAGS) $(TCFLAGS) $? + $(CC_DRIVER) $(CFLAGS) $(TCFLAGS) -fno-strict-aliasing $? [EMAIL PROTECTED]@: $(srcdir)/tcl/tcl_dbcursor.c $(CC_DRIVER) $(CFLAGS) $(TCFLAGS) $? [EMAIL PROTECTED]@: $(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 <[EMAIL PROTECTED]> 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