[Debichem-devel] Bug#778044: openbabel ftbfs with GCC 5

Matthias Klose doko at debian.org
Fri Jul 10 17:27:13 UTC 2015


Control: tags -1 + pending patch

attaching a patch, and uploading to delayed.
-------------- next part --------------
diff -Nru openbabel-2.3.2+dfsg/debian/changelog openbabel-2.3.2+dfsg/debian/changelog
--- openbabel-2.3.2+dfsg/debian/changelog	2014-09-20 14:43:39.000000000 +0200
+++ openbabel-2.3.2+dfsg/debian/changelog	2015-07-10 17:36:25.000000000 +0200
@@ -1,3 +1,10 @@
+openbabel (2.3.2+dfsg-2.1) unstable; urgency=medium
+
+  * Non maintainer upload.
+  * Fix building with GCC 5. Closes: #778044.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 10 Jul 2015 17:35:33 +0200
+
 openbabel (2.3.2+dfsg-2) unstable; urgency=medium
 
   [ Daniel Leidert ]
diff -Nru openbabel-2.3.2+dfsg/debian/patches/gcc5.diff openbabel-2.3.2+dfsg/debian/patches/gcc5.diff
--- openbabel-2.3.2+dfsg/debian/patches/gcc5.diff	1970-01-01 01:00:00.000000000 +0100
+++ openbabel-2.3.2+dfsg/debian/patches/gcc5.diff	2015-07-10 17:35:04.000000000 +0200
@@ -0,0 +1,13 @@
+Index: b/include/openbabel/shared_ptr.h
+===================================================================
+--- a/include/openbabel/shared_ptr.h
++++ b/include/openbabel/shared_ptr.h
+@@ -21,7 +21,7 @@ GNU General Public License for more deta
+   #define shared_ptr boost::shared_ptr
+ #else
+   #include <memory>
+-  #if __GNUC__ == 4  //&& __GNUC_MINOR__ < 3  removed at the suggestion of Konstantin Tokarev
++  #if __GNUC__ >= 4  //&& __GNUC_MINOR__ < 3  removed at the suggestion of Konstantin Tokarev
+     #include <tr1/memory>
+   #endif
+   using std::tr1::shared_ptr;
diff -Nru openbabel-2.3.2+dfsg/debian/patches/series openbabel-2.3.2+dfsg/debian/patches/series
--- openbabel-2.3.2+dfsg/debian/patches/series	2014-09-20 14:29:34.000000000 +0200
+++ openbabel-2.3.2+dfsg/debian/patches/series	2015-07-10 17:34:33.000000000 +0200
@@ -2,3 +2,4 @@
 libinchi_static.patch
 fix_ftbfs.patch
 715668_fix_babel_segfault.patch
+gcc5.diff


More information about the Debichem-devel mailing list