aboutsummaryrefslogtreecommitdiffstats
path: root/main/libffi/APKBUILD
diff options
context:
space:
mode:
authorMobile Stream <info@mobile-stream.com>2018-08-10 16:47:27 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-03 17:43:32 +0000
commita64a6472b2e8c85ea891cb59e2b857bc688a31c0 (patch)
treebd5c0635e01aede02c10a5157cec325622f0bb83 /main/libffi/APKBUILD
parent345ad39c2473ca10029fc4a2169778fb6e52621b (diff)
downloadaports-a64a6472b2e8c85ea891cb59e2b857bc688a31c0.tar.bz2
aports-a64a6472b2e8c85ea891cb59e2b857bc688a31c0.tar.xz
main/libffi: check for __linux__ not linux on mips*
The latter is not available in -std=c99 (e.g. as used by python3 build) and ffitarget.h tries to include sgidefs.h from a wrong location.
Diffstat (limited to 'main/libffi/APKBUILD')
-rw-r--r--main/libffi/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD
index b9130c8411..3ef63f4e90 100644
--- a/main/libffi/APKBUILD
+++ b/main/libffi/APKBUILD
@@ -15,6 +15,7 @@ subpackages="$pkgname-dev $pkgname-doc"
source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
gnu-linux-define.patch
pax-dlmmap.patch
+ use-stdc-compatible-linux-define.patch
"
builddir="$srcdir"/$pkgname-$pkgver
@@ -47,4 +48,5 @@ package() {
sha512sums="980ca30a8d76f963fca722432b1fe5af77d7a4e4d2eac5144fbc5374d4c596609a293440573f4294207e1bdd9fda80ad1e1cafb2ffb543df5a275bc3bd546483 libffi-3.2.1.tar.gz
264af568ae5388d50f647f891a406945c73cc358692266f65ad341787c0bf5f6bf31203b86c39fa1b338101c1a6d2f4fec60f95a90d379951ff5153f8f9e178f gnu-linux-define.patch
-72486b389db16055ae4d7d33ba0cb05840537e28fe7a86aa89e2cb922592125d99c18c26c5df7ffde6282742e79f2b9126353e58b58f091f0486589e14dd6474 pax-dlmmap.patch"
+72486b389db16055ae4d7d33ba0cb05840537e28fe7a86aa89e2cb922592125d99c18c26c5df7ffde6282742e79f2b9126353e58b58f091f0486589e14dd6474 pax-dlmmap.patch
+d15aaf7ecf6fe7a1532695a515a496d462c3930a50ec3e2a019713ecfc810a112250563c41f018834323f201f1c814e7c94d296f167706af300907264ee80924 use-stdc-compatible-linux-define.patch"