summaryrefslogtreecommitdiff
path: root/libraries/openbabel/gcc-5.patch
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-11-18 22:50:30 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit614576c9a227dbda3c8405672db28fe0fe00beac (patch)
treec58500a9115eedccd8f99f623fdb1c389322f9be /libraries/openbabel/gcc-5.patch
parentdb8b2ec2a17d88391bad13abcbeebc9f694e8d04 (diff)
downloadslackbuilds-614576c9a227dbda3c8405672db28fe0fe00beac.tar.gz
libraries/openbabel: Updated for version 2.3.2.
Patched to build with gcc-5.2.0. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/openbabel/gcc-5.patch')
-rw-r--r--libraries/openbabel/gcc-5.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/openbabel/gcc-5.patch b/libraries/openbabel/gcc-5.patch
new file mode 100644
index 0000000000..bd25e0df0b
--- /dev/null
+++ b/libraries/openbabel/gcc-5.patch
@@ -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;
+