aboutsummaryrefslogtreecommitdiffstats
path: root/main/sipp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-26 07:22:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-26 07:41:46 +0000
commit2ca113961d7607ee2982b4f6665ce370123ff60c (patch)
tree96ee7c14b9f3ffeedd03d65302a05c093b465cc3 /main/sipp/APKBUILD
parent03b49d094d09ff67226c469d33f664fe1f5c700f (diff)
downloadaports-2ca113961d7607ee2982b4f6665ce370123ff60c.tar.gz
aports-2ca113961d7607ee2982b4f6665ce370123ff60c.tar.bz2
aports-2ca113961d7607ee2982b4f6665ce370123ff60c.tar.xz
main/sipp: build fix for musl
replace u_char and u_long with unsigned char/long define _GNU_SOURCE for the gnu style udphdr fields
Diffstat (limited to 'main/sipp/APKBUILD')
-rw-r--r--main/sipp/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/main/sipp/APKBUILD b/main/sipp/APKBUILD
index b995f73438..feca12bd05 100644
--- a/main/sipp/APKBUILD
+++ b/main/sipp/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=sipp
pkgver=3.3
-pkgrel=2
+pkgrel=3
pkgdesc="A test tool / traffic generator for the SIP protocol"
url="http://sipp.sourceforge.net/"
arch="all"
@@ -14,7 +14,9 @@ makedepends="autoconf automake openssl-dev libpcap-dev ncurses-dev lksctp-tools-
install=""
subpackages=""
source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
- fix-stdin.patch"
+ fix-stdin.patch
+ musl-fixes.patch
+ "
_builddir="$srcdir"/$pkgname-$pkgver
@@ -46,8 +48,11 @@ package() {
}
md5sums="8c1d513423f9dabee799e738b737e311 sipp-3.3.tar.gz
-887a871ffd6cfb9a831d59c9a69ac294 fix-stdin.patch"
+887a871ffd6cfb9a831d59c9a69ac294 fix-stdin.patch
+71ac59d3b54d211eca3bd9e07e74a880 musl-fixes.patch"
sha256sums="17fd02e6aa71d44a90c65e84a1aa39d3aa329990d4aa48e4fb4b895304dbc920 sipp-3.3.tar.gz
-bba2f98200bddf3b2ea83afa43e5689b83af28003b29fd407c934d6831003230 fix-stdin.patch"
+bba2f98200bddf3b2ea83afa43e5689b83af28003b29fd407c934d6831003230 fix-stdin.patch
+d83fa627760551b698ed7f096446065345d8a5e7af375650844807690592e6f8 musl-fixes.patch"
sha512sums="ab42a71426ae381b9cd1f36e1d64d5c4bfccc1359973e1909f9e9d0ce3b3a4391056250371708b12be0e7de998e88b9224c9f307b1d2ce437942103b6ad10d2b sipp-3.3.tar.gz
-67c9382e6c29642b633bba418ce2ea331c258a682791bd1205e64f4592e8cee0353051e902a7a68879ca3a12000a7808505ffb5ef033b69a28bc1901a727e82e fix-stdin.patch"
+67c9382e6c29642b633bba418ce2ea331c258a682791bd1205e64f4592e8cee0353051e902a7a68879ca3a12000a7808505ffb5ef033b69a28bc1901a727e82e fix-stdin.patch
+8171a26361f3489580970a28aed9090ba50d6b62ea1552068c442275fe40b95794e0602a03c13976741d1ab7866047ff91760a15a6aeb32edc009ba5332f61c0 musl-fixes.patch"