File openbabel-gcc5.patch of Package openbabel

From 04d0fe305c28965cafb252945d4afd23c2b98468 Mon Sep 17 00:00:00 2001
From: David Hall <david@acpharis.com>
Date: Thu, 12 Feb 2015 08:46:21 -0500
Subject: [PATCH] GCC5 patch from fedora packager

---
 include/openbabel/shared_ptr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: openbabel-2.3.1/include/openbabel/shared_ptr.h
===================================================================
--- openbabel-2.3.1.orig/include/openbabel/shared_ptr.h
+++ openbabel-2.3.1/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;
openSUSE Build Service is sponsored by