* sync file with main arch

This commit is contained in:
Alexander Baldeck 2019-06-21 13:49:56 +00:00
parent e9b81c36d8
commit e649874a46

View File

@ -5,7 +5,7 @@
pkgname=file
pkgver=5.37
pkgrel=1
pkgrel=2
pkgdesc='File type identification utility'
arch=(x86_64 powerpc64le)
license=('custom')
@ -33,6 +33,9 @@ prepare() {
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