tags 667420 + pending thanks Dear Georges,
I'm currently looking at some of the RC bugs for wheezy. xdrawchem has an RC bug open, which is xdrawchem FTBFS with gcc 4.7. There was a patch from Cyril Brulebois in the BTS. I've prepared an NMU for xdrawchem (versioned as 2.0-1.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Regards, Salvatore
diff -Nru xdrawchem-2.0/debian/changelog xdrawchem-2.0/debian/changelog --- xdrawchem-2.0/debian/changelog 2011-05-07 21:26:30.000000000 +0200 +++ xdrawchem-2.0/debian/changelog 2012-05-16 21:15:33.000000000 +0200 @@ -1,3 +1,13 @@ +xdrawchem (2.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add fix-ftbfs-with-gcc-4.7 patch. + Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include for + getpid(). + Thanks to Cyril Brulebois <[email protected]> for the patch. (Closes: #667420) + + -- Salvatore Bonaccorso <[email protected]> Wed, 16 May 2012 21:15:15 +0200 + xdrawchem (2.0-1) unstable; urgency=low * upgraded to the SVN subdir xdrawchem-qt4 published 3 years ago. diff -Nru xdrawchem-2.0/debian/patches/fix-ftbfs-with-gcc-4.7 xdrawchem-2.0/debian/patches/fix-ftbfs-with-gcc-4.7 --- xdrawchem-2.0/debian/patches/fix-ftbfs-with-gcc-4.7 1970-01-01 01:00:00.000000000 +0100 +++ xdrawchem-2.0/debian/patches/fix-ftbfs-with-gcc-4.7 2012-05-16 21:15:33.000000000 +0200 @@ -0,0 +1,15 @@ +Description: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include for getpid(). +Author: Cyril Brulebois <[email protected]> +Bug-Debian: http://bugs.debian.org/667420 + +--- xdrawchem-2.0.orig/xdrawchem/application.cpp ++++ xdrawchem-2.0/xdrawchem/application.cpp +@@ -22,6 +22,8 @@ + #include <QLineEdit> + #include <QBitmap> + ++#include <unistd.h> ++ + #include "defs.h" + #include "drawable.h" + #include "renderarea.h" diff -Nru xdrawchem-2.0/debian/patches/series xdrawchem-2.0/debian/patches/series --- xdrawchem-2.0/debian/patches/series 2011-05-07 19:22:11.000000000 +0200 +++ xdrawchem-2.0/debian/patches/series 2012-05-16 21:15:33.000000000 +0200 @@ -1 +1,2 @@ debian-changes-2.0-1 +fix-ftbfs-with-gcc-4.7
signature.asc
Description: Digital signature

