summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e07ea95501b6..c03677a9c07c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = chemtool-proper
pkgdesc = Chemtool without the stupid right justified help menu
pkgver = 1.6.14
- pkgrel = 1
+ pkgrel = 2
url = http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c45d49ea448e..ccdcd742b02c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=chemtool-proper
pkgver=1.6.14
-pkgrel=1
+pkgrel=2
pkgdesc="Chemtool without the stupid right justified help menu"
arch=(i686 x86_64)
license=('GPL2')
@@ -16,6 +16,7 @@ source=(http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool-$pkgver.tar
build() {
cd "$srcdir"/chemtool-$pkgver
sed -i -e 's/.*right_justify.*//g' main.c
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
./configure --prefix=/usr --mandir=/usr/share/man
make
}