ALT Linux repos
Group :: Sciences/Chemistry
RPM: openbabel
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: alt-gcc5.patch
Download
Download
--- a/include/openbabel/shared_ptr.h~ 2016-02-01 15:58:21.000000000 +0300
+++ b/include/openbabel/shared_ptr.h 2016-02-01 16:06:06.248000000 +0300
@@ -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;