[arch-commits] Commit in openbabel/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Aug 27 17:53:25 UTC 2022
Date: Saturday, August 27, 2022 @ 17:53:24
Author: arojas
Revision: 454654
upgpkg: openbabel 3.1.1-4: Fix build with GCC 12 (FS#75634)
Modified:
openbabel/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-27 17:45:23 UTC (rev 454653)
+++ PKGBUILD 2022-08-27 17:53:24 UTC (rev 454654)
@@ -11,9 +11,15 @@
url='https://openbabel.org/wiki/Main_Page'
license=(GPL)
makedepends=(cmake eigen wxwidgets-gtk3 boost python swig maeparser rapidjson coordgen)
-source=(https://github.com/openbabel/openbabel/releases/download/openbabel-${pkgver//./-}/openbabel-$pkgver-source.tar.bz2)
-sha256sums=('a6ec8381d59ea32a4b241c8b1fbd799acb52be94ab64cdbd72506fb4e2270e68')
+source=(https://github.com/openbabel/openbabel/releases/download/openbabel-${pkgver//./-}/openbabel-$pkgver-source.tar.bz2
+ https://github.com/openbabel/openbabel/commit/c0570bfe.patch)
+sha256sums=('a6ec8381d59ea32a4b241c8b1fbd799acb52be94ab64cdbd72506fb4e2270e68'
+ '70e16fe1ae60806ef1a022e6b768e9ebd0b1d832d052d4ceea30cbb76354ca7c')
+prepare() {
+ patch -d openbabel-$pkgver -p1 < c0570bfe.patch # Fix build with GCC 12
+}
+
build() {
cmake -B build -S openbabel-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
More information about the arch-commits
mailing list