David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
lib32-libffi


Commits:
c2c99f3e by David Runge at 2025-02-19T19:14:17+01:00
upgpkg: 3.4.7-1

Upstream doesn't care about 32bit test vectors anymore:
https://github.com/libffi/libffi/issues/737

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,15 @@
 pkgbase = lib32-libffi
        pkgdesc = Portable foreign function interface library (32-bit)
-       pkgver = 3.4.6
+       pkgver = 3.4.7
        pkgrel = 1
        url = https://sourceware.org/libffi/
        arch = x86_64
        license = MIT
-       checkdepends = dejagnu
        depends = lib32-glibc
-       depends = libffi=3.4.6
+       depends = libffi=3.4.7
        provides = libffi.so
-       source = 
https://github.com/libffi/libffi/releases/download/v3.4.6/libffi-3.4.6.tar.gz
-       sha256sums = 
b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e
-       b2sums = 
af8402a09bdbd59b4e9400d2d71bd5ce98f6f1d981d35d1ab40d77a831b13b32c5bd34ca54ff75999e39f0d8a9c066381fae7a8d6c5216d955e064f929f08b88
+       source = 
https://github.com/libffi/libffi/releases/download/v3.4.7/libffi-3.4.7.tar.gz
+       sha256sums = 
138607dee268bdecf374adf9144c00e839e38541f75f24a1fcf18b78fda48b2d
+       b2sums = 
0dd17b4fd358beb9842889168437443137445a5dba1f0a7e8669ae420d8efb927815c08602c1b1b141acfdfdbaa12b417863402a5c8df5f36519fd3e772d3f37
 
 pkgname = lib32-libffi


=====================================
PKGBUILD
=====================================
@@ -3,18 +3,17 @@
 
 pkgname=lib32-libffi
 _name=libffi
-pkgver=3.4.6
+pkgver=3.4.7
 pkgrel=1
 pkgdesc="Portable foreign function interface library (32-bit)"
 arch=(x86_64)
 url=https://sourceware.org/libffi/
 license=(MIT)
 depends=(lib32-glibc $_name=$pkgver)
-checkdepends=(dejagnu)
 provides=(libffi.so)
 
source=(https://github.com/libffi/libffi/releases/download/v$pkgver/$_name-$pkgver.tar.gz)
-sha256sums=('b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e')
-b2sums=('af8402a09bdbd59b4e9400d2d71bd5ce98f6f1d981d35d1ab40d77a831b13b32c5bd34ca54ff75999e39f0d8a9c066381fae7a8d6c5216d955e064f929f08b88')
+sha256sums=('138607dee268bdecf374adf9144c00e839e38541f75f24a1fcf18b78fda48b2d')
+b2sums=('0dd17b4fd358beb9842889168437443137445a5dba1f0a7e8669ae420d8efb927815c08602c1b1b141acfdfdbaa12b417863402a5c8df5f36519fd3e772d3f37')
 
 build() {
   local prepare_options=(
@@ -27,22 +26,16 @@ build() {
     --prefix=/usr
   )
 
-  export CC="gcc -m32"
+  export CFLAGS+=" -m32"
+  export CXXFLAGS+=" -m32"
+  export LDFLAGS+=" -m32"
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
   cd $_name-$pkgver
   ./configure "${prepare_options[@]}"
   make
 }
 
-check() {
-  # not sure what's causing these test failures; ignore them for now
-  #   FAIL: libffi.closures/unwindtest.cc -W -Wall -Wno-psabi -O0 execution 
test
-  #   FAIL: libffi.closures/unwindtest.cc -W -Wall -Wno-psabi -O2 execution 
test
-  #   FAIL: libffi.closures/unwindtest_ffi_call.cc -W -Wall -Wno-psabi -O0 
execution test
-  #   FAIL: libffi.closures/unwindtest_ffi_call.cc -W -Wall -Wno-psabi -O2 
execution test
-  make -C $_name-$pkgver check || :
-}
-
 package() {
   cd $_name-$pkgver
   make DESTDIR="$pkgdir" install



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-libffi/-/commit/c2c99f3e5a3c4e6fe4f0fac89cae4fbf328e4e39

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-libffi/-/commit/c2c99f3e5a3c4e6fe4f0fac89cae4fbf328e4e39
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to