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

Felix Yan felixonmars at archlinux.org
Wed Dec 21 09:46:14 UTC 2016


    Date: Wednesday, December 21, 2016 @ 09:46:13
  Author: felixonmars
Revision: 284368

upgpkg: openbabel 2.4.1-1

Modified:
  openbabel/trunk/PKGBUILD
Deleted:
  openbabel/trunk/gcc-5.patch

-------------+
 PKGBUILD    |   13 ++++---------
 gcc-5.patch |   12 ------------
 2 files changed, 4 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-21 07:33:11 UTC (rev 284367)
+++ PKGBUILD	2016-12-21 09:46:13 UTC (rev 284368)
@@ -3,8 +3,8 @@
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 
 pkgname=openbabel
-pkgver=2.3.2
-pkgrel=6
+pkgver=2.4.1
+pkgrel=1
 pkgdesc="A library designed to interconvert between many file formats used in molecular modeling and computational chemistry"
 arch=('i686' 'x86_64')
 url="http://openbabel.org/wiki/Main_Page"
@@ -12,16 +12,11 @@
 depends=('gcc-libs' 'libxml2' 'libsm')
 makedepends=('cmake' 'eigen' 'wxgtk2.8' 'boost')
 optdepends=('wxgtk2.8: GUI interface')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'gcc-5.patch')
-md5sums=('9b0007560d9d838b40ab4ad06daf5610'
-         '0821ec915b2ab52d54658dc83f5a93d8')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('d9defcd7830b0592fece4fe54a137b99')
 
 prepare() {
   mkdir -p build
-
-  cd $pkgname-$pkgver
-# Fix build with GCC 5 (Fedora)
-  patch -p0 -i "$srcdir"/gcc-5.patch
 }
 
 build() {

Deleted: gcc-5.patch
===================================================================
--- gcc-5.patch	2016-12-21 07:33:11 UTC (rev 284367)
+++ gcc-5.patch	2016-12-21 09:46:13 UTC (rev 284368)
@@ -1,12 +0,0 @@
---- 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