Hello community,

here is the log from the commit of package openbabel for openSUSE:Factory 
checked in at 2015-06-23 11:58:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openbabel (Old)
 and      /work/SRC/openSUSE:Factory/.openbabel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openbabel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openbabel/openbabel.changes      2013-08-06 
07:04:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openbabel.new/openbabel.changes 2015-06-23 
11:58:16.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 19 12:02:45 UTC 2015 - dims...@opensuse.org
+
+- Add openbabel-gcc5.patch: Fix build with gcc5.
+
+-------------------------------------------------------------------

New:
----
  openbabel-gcc5.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openbabel.spec ++++++
--- /var/tmp/diff_new_pack.gwEMHC/_old  2015-06-23 11:58:16.000000000 +0200
+++ /var/tmp/diff_new_pack.gwEMHC/_new  2015-06-23 11:58:16.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package openbabel
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,8 @@
 Source99:       cripple_source.sh
 # PATCH-FIX-OPENSUSE -- No build date
 Patch0:         openbabel-2.3.1-no-build-date.patch
+# PATCH-FIX-UPSTREAM openbabel-gcc5.patch dims...@opensuse.org -- Fix build 
with GCC5, taken from git
+Patch1:         openbabel-gcc5.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libeigen2-devel
@@ -81,6 +83,7 @@
 %prep
 %setup -q
 %patch0
+%patch1 -p1
 
 %build
 %define libsuffix ""

++++++ openbabel-gcc5.patch ++++++
>From 04d0fe305c28965cafb252945d4afd23c2b98468 Mon Sep 17 00:00:00 2001
From: David Hall <da...@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;

Reply via email to