Subject: [alpine-aports] [PATCH] main/libffi: add linux-headers to depends-dev

From: alpine-mips-patches <[email-masked]>
Date: Tue, 11 Dec 2018 08:42:25 +0000

Public header ffitarget.h wants <asm/sgidefs.h> on mips*.
---
 main/libffi/APKBUILD | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD
index a9a767a60a..7f3c52864b 100644
--- a/main/libffi/APKBUILD
+++ b/main/libffi/APKBUILD
@@ -1,14 +1,15 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=libffi
 pkgver=3.2.1
-pkgrel=5
+pkgrel=6
 pkgdesc="A portable, high level programming interface to various calling conventions."
 url="http://sourceware.org/libffi"
 arch="all"
 license="MIT"
 depends=
+depends_dev="linux-headers"
 makedepends_build="texinfo"
-# linux-headers is needed for MIPS atleast
+# on mips* ffitarget.h wants <asm/sgidefs.h>
 makedepends_host="linux-headers"
 install=
 subpackages="$pkgname-dev $pkgname-doc"
-- 
2.19.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---