diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-17 14:46:35 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-17 14:46:35 +0000 |
commit | dd54bfedab2c4f228ae4ec6d40dcad600221ad26 (patch) | |
tree | c0e2209e00cbd4527b995e1d080c86840f0ffd78 /main/libnfsidmap | |
parent | d4f9d76d9117da1d3b72667a546cdc6617d5ab54 (diff) | |
download | aports-dd54bfedab2c4f228ae4ec6d40dcad600221ad26.tar.bz2 aports-dd54bfedab2c4f228ae4ec6d40dcad600221ad26.tar.xz |
main/libnfsidmap: fix musl build
Diffstat (limited to 'main/libnfsidmap')
-rw-r--r-- | main/libnfsidmap/APKBUILD | 15 | ||||
-rw-r--r-- | main/libnfsidmap/musl-fix-includes.patch | 10 |
2 files changed, 20 insertions, 5 deletions
diff --git a/main/libnfsidmap/APKBUILD b/main/libnfsidmap/APKBUILD index c23c2e4cd3..b23d732fbe 100644 --- a/main/libnfsidmap/APKBUILD +++ b/main/libnfsidmap/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libnfsidmap pkgver=0.25 -pkgrel=0 +pkgrel=1 pkgdesc="NFSv4 User and Group ID Mapping Library" url="http://www.citi.umich.edu/projects/nfsv4/linux/" arch="all" @@ -11,7 +11,9 @@ depends="" makedepends="openldap-dev" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-ldap" -source="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$pkgver.tar.gz" +source="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$pkgver.tar.gz + musl-fix-includes.patch + " _builddir="$srcdir"/libnfsidmap-$pkgver prepare() { @@ -50,6 +52,9 @@ ldap() { mv "$pkgdir"/usr/lib/$pkgname/*ldap* "$subpkgdir"/usr/lib/$pkgname/ } -md5sums="2ac4893c92716add1a1447ae01df77ab libnfsidmap-0.25.tar.gz" -sha256sums="656d245d84400e1030f8f40a5a27da76370690c4a932baf249110f047fe7efcf libnfsidmap-0.25.tar.gz" -sha512sums="8acf30790cdd19341c75cb8a4f7ee4dbc9f688c8514258046e55c8f4245df213709ccb7d5327a11b146b0e3b7266d3d4da018699c6be47fbedcc4cd384b54557 libnfsidmap-0.25.tar.gz" +md5sums="2ac4893c92716add1a1447ae01df77ab libnfsidmap-0.25.tar.gz +24db67c9da3a050a807efda5590a71c9 musl-fix-includes.patch" +sha256sums="656d245d84400e1030f8f40a5a27da76370690c4a932baf249110f047fe7efcf libnfsidmap-0.25.tar.gz +7c0163dbc14b48829f7bced592c1e01a8224283213790e0a7c1e2f76663720fd musl-fix-includes.patch" +sha512sums="8acf30790cdd19341c75cb8a4f7ee4dbc9f688c8514258046e55c8f4245df213709ccb7d5327a11b146b0e3b7266d3d4da018699c6be47fbedcc4cd384b54557 libnfsidmap-0.25.tar.gz +25f913813955af964f29c8e90c6a58e15321bf8a22335328c9d29abe6a3656d2aa832ecdb763c80043454af6e6637b35eef6137c99fb6442ad823fcc0f7f1233 musl-fix-includes.patch" diff --git a/main/libnfsidmap/musl-fix-includes.patch b/main/libnfsidmap/musl-fix-includes.patch new file mode 100644 index 0000000000..aeb4aa1a91 --- /dev/null +++ b/main/libnfsidmap/musl-fix-includes.patch @@ -0,0 +1,10 @@ +--- libnfsidmap-0.25.orig/cfg.h ++++ libnfsidmap-0.25/cfg.h +@@ -33,6 +33,7 @@ + #ifndef _CONF_H_ + #define _CONF_H_ + ++#include <sys/types.h> + #include "queue.h" + + struct conf_list_node { |