diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 12:08:22 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 12:08:31 +0100 |
commit | 3181126f1db889201ad439a3b74db1c4e2574e70 (patch) | |
tree | 1342eb1e3557b12c48246d4276c0d633073afbca /testing/ncrack | |
parent | f6357dfa9e8a8d65fc18299cccaeb1df7bc87571 (diff) | |
download | aports-3181126f1db889201ad439a3b74db1c4e2574e70.tar.bz2 aports-3181126f1db889201ad439a3b74db1c4e2574e70.tar.xz |
testing/ncrack: fix build on musl
Diffstat (limited to 'testing/ncrack')
-rw-r--r-- | testing/ncrack/APKBUILD | 10 | ||||
-rw-r--r-- | testing/ncrack/missing-typesh.patch | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/testing/ncrack/APKBUILD b/testing/ncrack/APKBUILD index c159de5adb..e3e21472f9 100644 --- a/testing/ncrack/APKBUILD +++ b/testing/ncrack/APKBUILD @@ -12,7 +12,8 @@ depends_dev="" makedepends="openssl-dev" install="" subpackages="$pkgname-doc" -source="http://nmap.org/ncrack/dist/$pkgname-"$pkgver"ALPHA.tar.gz" +source="http://nmap.org/ncrack/dist/$pkgname-"$pkgver"ALPHA.tar.gz + missing-typesh.patch" _builddir="$srcdir"/$pkgname-"$pkgver"ALPHA prepare() { @@ -43,4 +44,9 @@ package() { rm -f "$pkgdir"/usr/lib/*.la } -md5sums="db9be165469c04650ddc7403b29eb472 ncrack-0.4ALPHA.tar.gz" +md5sums="db9be165469c04650ddc7403b29eb472 ncrack-0.4ALPHA.tar.gz +19b5756d27f0f7c271cb9d76bf08c1d3 missing-typesh.patch" +sha256sums="f8bd7e0ef68559490064ec0a5f139b2b9c49aeaf9f6323e080db9ff344c87603 ncrack-0.4ALPHA.tar.gz +05a5d6637e50533f4d33ba381aec3b60a8f66a4e7639c7d3aeff1b4023293192 missing-typesh.patch" +sha512sums="19f547f7f6e809d2bca3c20bbb0be5bc46d2ead8330b847a2fb4cc767548ba1fb8a05badaa9d128f9f5c925c5ed41285de0f12a46061354ec1ae0d29b14a364d ncrack-0.4ALPHA.tar.gz +2fcb3b7b5d622396c733cb350f91cf66d9446d321472c624dc80b975d459754a3d7410539e21c982468b43578b603a66a125c841332d779caa2580dc6c1c8a31 missing-typesh.patch" diff --git a/testing/ncrack/missing-typesh.patch b/testing/ncrack/missing-typesh.patch new file mode 100644 index 0000000000..ad651b0167 --- /dev/null +++ b/testing/ncrack/missing-typesh.patch @@ -0,0 +1,10 @@ +--- a/Buf.h.org ++++ b/Buf.h +@@ -93,6 +93,7 @@ + #define BUF_H + + #include "utils.h" ++#include <sys/types.h> + + #define BUFFER_MAX_CHUNK 0x100000 + #define BUFFER_MAX_LEN 0xa00000 |