summaryrefslogtreecommitdiffstats
path: root/main/libproxy
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-29 16:03:02 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-29 16:03:02 +0000
commitcde4c288fb31f74d2401cef0558ab3c56ada33ca (patch)
tree028c0f0c3128e10e0b20770e069dbdeb27146f0f /main/libproxy
parent7ca610250df2a14b637b4e00c339dd975f38bea9 (diff)
downloadaports-cde4c288fb31f74d2401cef0558ab3c56ada33ca.tar.bz2
aports-cde4c288fb31f74d2401cef0558ab3c56ada33ca.tar.xz
main/libproxy: fix musl build
Diffstat (limited to 'main/libproxy')
-rw-r--r--main/libproxy/APKBUILD12
-rw-r--r--main/libproxy/fix-includes.patch10
2 files changed, 18 insertions, 4 deletions
diff --git a/main/libproxy/APKBUILD b/main/libproxy/APKBUILD
index 6436029de..24fd11e00 100644
--- a/main/libproxy/APKBUILD
+++ b/main/libproxy/APKBUILD
@@ -13,7 +13,8 @@ makedepends="cmake python-dev $depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-bin py-$pkgname:py"
source="http://libproxy.googlecode.com/files/libproxy-$pkgver.tar.gz
- libproxy-0.4.7-unistd.patch"
+ libproxy-0.4.7-unistd.patch
+ fix-includes.patch"
_builddir="$srcdir"/libproxy-$pkgver
prepare() {
@@ -61,8 +62,11 @@ py() {
}
md5sums="3cd1ae2a4abecf44b3f24d6639d2cd84 libproxy-0.4.11.tar.gz
-e90c03f296e553ace347b46f4fea3625 libproxy-0.4.7-unistd.patch"
+e90c03f296e553ace347b46f4fea3625 libproxy-0.4.7-unistd.patch
+7ab96e0a54ef400a23ce310fdc3442b3 fix-includes.patch"
sha256sums="dc3f33de54163718f82b3e7c496a7de97f8862578414b8ecaad3cbfe4821864b libproxy-0.4.11.tar.gz
-8d37357a63dcff4a410d411f10d6a375c74525caa4a5a3b496feceb340f83b62 libproxy-0.4.7-unistd.patch"
+8d37357a63dcff4a410d411f10d6a375c74525caa4a5a3b496feceb340f83b62 libproxy-0.4.7-unistd.patch
+aea4d9e70369bad111aad6575aea27775db76c162e3ee1efc760fa19c0738ec6 fix-includes.patch"
sha512sums="563a837946a73c41e0773cec93332c6308245c0b807a40a0fb052c2445deae4a117ba2780a350c799717fd11c4dbe410183a38ea050a4f04db0b1adcb6f9ad98 libproxy-0.4.11.tar.gz
-9929c308195bc59c1b9a7ddaaf708fb831da83c5d86d7ce122cb9774c9b9b16aef3c17fb721356e33a865de1af27db493f29a99d292e1e258cd0135218cacd32 libproxy-0.4.7-unistd.patch"
+9929c308195bc59c1b9a7ddaaf708fb831da83c5d86d7ce122cb9774c9b9b16aef3c17fb721356e33a865de1af27db493f29a99d292e1e258cd0135218cacd32 libproxy-0.4.7-unistd.patch
+1c658fe2231f0eca73faed871599e157588a9352b42ac0bed3f8b6e80dab574a0a61c3b8bd936b3a07207f35d187f122db05ac82d63c021d8118a025061f922c fix-includes.patch"
diff --git a/main/libproxy/fix-includes.patch b/main/libproxy/fix-includes.patch
new file mode 100644
index 000000000..f3e0809b0
--- /dev/null
+++ b/main/libproxy/fix-includes.patch
@@ -0,0 +1,10 @@
+--- libproxy-0.4.11.orig/libproxy/test/get-pac-test.cpp
++++ libproxy-0.4.11/libproxy/test/get-pac-test.cpp
+@@ -3,6 +3,7 @@
+ #include <sstream>
+ #include <string>
+
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>