diff options
Diffstat (limited to 'main/libnfnetlink/APKBUILD')
-rw-r--r-- | main/libnfnetlink/APKBUILD | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/main/libnfnetlink/APKBUILD b/main/libnfnetlink/APKBUILD index 41641eae1b..c724700cbf 100644 --- a/main/libnfnetlink/APKBUILD +++ b/main/libnfnetlink/APKBUILD @@ -10,13 +10,19 @@ license="GPL-2" depends="" makedepends="" subpackages="$pkgname-dev" -source="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgver.tar.bz2" +source="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgver.tar.bz2 + fix-includes.patch" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" update_config_sub || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } build() { @@ -38,4 +44,9 @@ package() { make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } -md5sums="98927583d2016a9fb1936fed992e2c5e libnfnetlink-1.0.1.tar.bz2" +md5sums="98927583d2016a9fb1936fed992e2c5e libnfnetlink-1.0.1.tar.bz2 +e441bfc59a021e3871da9300fccf2b36 fix-includes.patch" +sha256sums="f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a libnfnetlink-1.0.1.tar.bz2 +78a20a154e7e36f3f2c974705d4db488011d2fb532234f59dee7453efb84bdee fix-includes.patch" +sha512sums="2ec2cd389c04e21c8a02fb3f6d6f326fc33ca9589577f1739c23d883fe2ee9feaa16e83b6ed09063ad886432e49565dc3256277d035260aca5aab17954b46104 libnfnetlink-1.0.1.tar.bz2 +d2d5fdbca911e34b03d06de461921a1a65d3b7819fb07a6376c91411dbc2677f0299eb4fd02985e6879ad6b109232b0a873d4e6ff88708651ea16c9c5df35720 fix-includes.patch" |