[arch-commits] Commit in openbabel/trunk (gcc-5.patch)

Antonio Rojas arojas at archlinux.org
Sat May 30 10:03:47 UTC 2015


    Date: Saturday, May 30, 2015 @ 12:03:47
  Author: arojas
Revision: 239904

Add patch

Added:
  openbabel/trunk/gcc-5.patch

-------------+
 gcc-5.patch |   12 ++++++++++++
 1 file changed, 12 insertions(+)

Added: gcc-5.patch
===================================================================
--- gcc-5.patch	                        (rev 0)
+++ gcc-5.patch	2015-05-30 10:03:47 UTC (rev 239904)
@@ -0,0 +1,12 @@
+--- include/openbabel/shared_ptr.h.gcc5	2015-02-04 20:04:57.000000000 +0100
++++ include/openbabel/shared_ptr.h	2015-02-07 22:10:37.433163644 +0100
+@@ -21,7 +21,7 @@ GNU General Public License for more deta
+   #define sharedptr 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;
+



More information about the arch-commits mailing list