[arch-commits] Commit in ecl/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Wed May 20 01:31:58 UTC 2020


    Date: Wednesday, May 20, 2020 @ 01:31:57
  Author: allan
Revision: 386971

upgpkg: ecl 16.1.3-4: fix FTBFS

Modified:
  ecl/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-19 22:44:08 UTC (rev 386970)
+++ PKGBUILD	2020-05-20 01:31:57 UTC (rev 386971)
@@ -3,7 +3,7 @@
 
 pkgname=ecl
 pkgver=16.1.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Embeddable Common Lisp"
 arch=('x86_64')
 url="https://common-lisp.net/project/ecl/"
@@ -15,9 +15,17 @@
 source=("https://common-lisp.net/project/ecl/static/files/release/${pkgname}-${pkgver}.tgz")
 sha256sums=('76a585c616e8fa83a6b7209325a309da5bc0ca68e0658f396f49955638111254')
 
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # upstream patch: https://gitlab.com/sagemath/dev/trac/-/commit/ed7bc14f751a76ad88c506cd33beb7f3e1030ff5
+  sed -i "s/FFI_SYSV/FFI_UNIX64/" src/c/ffi.d
+}
+
 build() {
   cd $srcdir/$pkgname-$pkgver
   sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure
+  CFLAGS+=" -fcommon"
   ./configure \
     --build=$CHOST \
     --prefix=/usr \



More information about the arch-commits mailing list