Date: Wednesday, October 2, 2019 @ 10:53:52
  Author: arojas
Revision: 512413

Update to 4.1.2.p2, fix (some) overlinking

Modified:
  singular/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-10-02 09:27:54 UTC (rev 512412)
+++ PKGBUILD    2019-10-02 10:53:52 UTC (rev 512413)
@@ -3,10 +3,10 @@
 
 pkgname=singular
 _majver=4-1-2
-_patchver=1
+_patchver=2
 pkgver=${_majver//-/.}.p${_patchver}
 #pkgver=${_majver//-/.}
-pkgrel=7
+pkgrel=1
 pkgdesc="Computer Algebra System for polynomial computations"
 arch=(x86_64)
 url="https://www.singular.uni-kl.de/";
@@ -17,7 +17,7 @@
 
source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}p${_patchver}.tar.gz";
 
#source=("ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/$_majver/singular-${_majver//-/.}.tar.gz";
         singular-polymake-3.3.patch)
-sha256sums=('b520809ce061059081a973d4a3b102b05863d49c20565d03f638ba5146296d4f'
+sha256sums=('07b22773d982d43687f15ba73de7968d23cc15d2c8f23434742134f7bfc68ef5'
             '683fd857562928833209f70765a6348a547d41bda6293b59a6e8ced54d062efc')
 options=(!zipman)
 
@@ -29,6 +29,8 @@
 build() {
   cd singular-${_majver//-/.}
   ./configure --prefix=/usr --libexecdir=/usr/lib
+# https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 

Reply via email to