diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-08 12:25:14 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-07-08 12:28:48 +0000 |
commit | 93352da61d5f2ab0e00e3589b52504437df19e75 (patch) | |
tree | 731c99a72fdf03d4ba2820dfb4f3c4cf4cdf12ad /main/libc | |
parent | 706bd46d82601d4a13cb8d208125695609069a8f (diff) | |
download | aports-93352da61d5f2ab0e00e3589b52504437df19e75.tar.bz2 aports-93352da61d5f2ab0e00e3589b52504437df19e75.tar.xz |
main/libc: provide sys/queue.h for musl toolchains
it is not required by standard, and due to the 3-clause bsd license
musl does not seem to want it included. so for now, provide this
header for compatibility here.
Diffstat (limited to 'main/libc')
-rw-r--r-- | main/libc/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/main/libc/APKBUILD b/main/libc/APKBUILD index 05e9a5935..d7f492cb9 100644 --- a/main/libc/APKBUILD +++ b/main/libc/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libc -pkgver=0.2 +pkgver=0.3 pkgrel=0 pkgdesc="Meta package to pull in correct libc" url="http://alpinelinux.org" @@ -10,7 +10,8 @@ license="GPL" makedepends="" depends= subpackages="$pkgname-dev $pkgname-utils" -source="" +source="sys-queue.h + " _builddir="$srcdir"/$pkgname-$pkgver @@ -32,7 +33,10 @@ dev() { case "$CHOST" in *-uclibc*) depends="uclibc-dev";; *-gnu*) depends="eglibc-dev";; - *-musl*) depends="musl-dev";; + *-musl*) + depends="musl-dev" + install -D "$srcdir"/sys-queue.h "$subpkgdir"/usr/include/sys/queue.h + ;; esac } @@ -41,8 +45,10 @@ utils() { case "$CHOST" in *-uclibc*) depends="uclibc-utils";; *-gnu*) depends="eglibc-utils";; - *-musl*) depends="musl-utils";; + *-musl*) depends="musl-utils" ;; esac } -md5sums="" +md5sums="555be8a6d1523a2272f4a04e4e936d5e sys-queue.h" +sha256sums="e4db36f500692efb12a7b97112e0f5c0985f13310a052d8e9f3a4f7648693711 sys-queue.h" +sha512sums="af87b810fbc4e7ed97b20412025ff5766e503fec163b27c81415dc0377b4f80f39548ebf8b6403e0dc5d35eddf8d08ba2a8dc549b3c8c1bf503c9da7c24b523b sys-queue.h" |