[arch-commits] Commit in file/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue May 28 20:26:24 UTC 2019
Date: Tuesday, May 28, 2019 @ 20:26:24
Author: heftig
Revision: 354461
5.37-2: Fix linking libmagic
Since 5.37 introduced a call to vfork, running svnserve makes the dynamic linker complain:
svnserve: Relink `/usr/lib/libmagic.so.1' with `/usr/lib/libpthread.so.0' for IFUNC symbol `vfork'
Modified:
file/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-28 19:35:07 UTC (rev 354460)
+++ PKGBUILD 2019-05-28 20:26:24 UTC (rev 354461)
@@ -4,7 +4,7 @@
pkgname=file
pkgver=5.37
-pkgrel=1
+pkgrel=2
pkgdesc='File type identification utility'
arch=('x86_64')
license=('custom')
@@ -32,6 +32,9 @@
build() {
cd $pkgname-$pkgver
+ # Fix linking libmagic (vfork needs libpthread)
+ CFLAGS+=" -pthread"
+
# seccomp breaks file -z foo.xz
# does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix
# this breaks makepkg, specifically on the linux PKGBUILD's patch-*.xz
More information about the arch-commits
mailing list