aboutsummaryrefslogtreecommitdiffstats
path: root/main/avahi
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-02-15 09:51:31 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-02-15 09:52:35 +0000
commita017b875e1b7b7be7d76b21c79b041853a33472f (patch)
tree41d08828cf7e63d19f5efa465def10e8ba76416a /main/avahi
parentc82389478b4f9b1cb6f5e6280715b53d5233937e (diff)
downloadaports-a017b875e1b7b7be7d76b21c79b041853a33472f.tar.bz2
aports-a017b875e1b7b7be7d76b21c79b041853a33472f.tar.xz
main/avahi: musl fix
Diffstat (limited to 'main/avahi')
-rw-r--r--main/avahi/APKBUILD8
-rw-r--r--main/avahi/musl-fix.patch65
2 files changed, 71 insertions, 2 deletions
diff --git a/main/avahi/APKBUILD b/main/avahi/APKBUILD
index 692b7048c2..7d0856ef6f 100644
--- a/main/avahi/APKBUILD
+++ b/main/avahi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avahi
pkgver=0.6.31
-pkgrel=4
+pkgrel=5
pkgdesc="A multicast/unicast DNS-SD framework"
url="http://www.avahi.org/"
arch="all"
@@ -16,7 +16,8 @@ pkggroups="avahi"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-ui-tools:uitools
$pkgname-glib $pkgname-ui $pkgname-libs $pkgname-compat-howl:howl
$pkgname-compat-libdns_sd:lidns_sd $pkgname-lang"
-patches="initscripts.patch"
+patches="initscripts.patch
+ musl-fix.patch"
source="http://www.avahi.org/download/avahi-$pkgver.tar.gz
$patches
gnome-nettool.png"
@@ -130,10 +131,13 @@ lidns_sd() {
md5sums="2f22745b8f7368ad5a0a3fddac343f2d avahi-0.6.31.tar.gz
0f8cd64789585731adbeb3e3efd55b21 initscripts.patch
+9557450128d0e4324405af2c625dc8c7 musl-fix.patch
42c2905307c7a5dc6ac4b75f4c3d65a3 gnome-nettool.png"
sha256sums="8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 avahi-0.6.31.tar.gz
a3c9ace33195393b078b7dae2f7e133795012304aaea5541e8c00ba62975d40d initscripts.patch
+c43a60cf9cddb3cc8c88c13d78dbf0c6a7f1e3ff1f73e1305d465547cadd6a58 musl-fix.patch
88cbac3316fd0ad10bb7d054dcd53ab822517a1d9bbb70a31cd754dcd59e94b9 gnome-nettool.png"
sha512sums="53eb00d570a274d841e1e6ad07da077950089ae39b4f7aa21fcd21cc5320b30b506b43e7e57e56198e155cc7bd289b779a48b2b2fc002dc6194a946110451858 avahi-0.6.31.tar.gz
31e1c7f469c80f537672880989eeef6493fa8b667965ca2d5b88dc58ba0e9a156aaf6531a85a0688ced0f6c9865cddf5195fe1b7f678bad4527f4d8ea990b445 initscripts.patch
+09ae19b3c8641cdbeaabf1af69852e297d7445dfaf259b43d9de8a04c5d31722ecb2fb921feb44925a5364e69bd514c47be90f532493b087879abf9f53a8fe11 musl-fix.patch
d8e92fcdd82759f8de536ebfa356fe208c27b2d998ce5bb51d585dffc163dc16228be4a7108644fe1a11defbe750244bc8105a430b1397297cdef4cb83ab0db5 gnome-nettool.png"
diff --git a/main/avahi/musl-fix.patch b/main/avahi/musl-fix.patch
new file mode 100644
index 0000000000..a331e6453c
--- /dev/null
+++ b/main/avahi/musl-fix.patch
@@ -0,0 +1,65 @@
+diff --git a/avahi-common/simple-watch.c b/avahi-common/simple-watch.c
+index 8df18dd..08d8090 100644
+--- a/avahi-common/simple-watch.c
++++ b/avahi-common/simple-watch.c
+@@ -21,7 +21,7 @@
+ #include <config.h>
+ #endif
+
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <assert.h>
+ #include <string.h>
+ #include <errno.h>
+diff --git a/avahi-common/simple-watch.h b/avahi-common/simple-watch.h
+index 72c1905..db87122 100644
+--- a/avahi-common/simple-watch.h
++++ b/avahi-common/simple-watch.h
+@@ -22,7 +22,7 @@
+
+ /** \file simple-watch.h Simple poll() based main loop implementation */
+
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <avahi-common/cdecl.h>
+ #include <avahi-common/watch.h>
+
+diff --git a/avahi-common/thread-watch.c b/avahi-common/thread-watch.c
+index c0cadeb..ecb202b 100644
+--- a/avahi-common/thread-watch.c
++++ b/avahi-common/thread-watch.c
+@@ -21,7 +21,7 @@
+ #include <config.h>
+ #endif
+
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <assert.h>
+ #include <string.h>
+ #include <errno.h>
+diff --git a/avahi-common/thread-watch.h b/avahi-common/thread-watch.h
+index dec0cf3..1b44ccb 100644
+--- a/avahi-common/thread-watch.h
++++ b/avahi-common/thread-watch.h
+@@ -22,7 +22,7 @@
+
+ /** \file thread-watch.h Threaded poll() based main loop implementation */
+
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <avahi-common/cdecl.h>
+ #include <avahi-common/watch.h>
+
+diff --git a/avahi-common/watch.h b/avahi-common/watch.h
+index 86e63d3..eea12ec 100644
+--- a/avahi-common/watch.h
++++ b/avahi-common/watch.h
+@@ -22,7 +22,7 @@
+
+ /** \file watch.h Simplistic main loop abstraction */
+
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <sys/time.h>
+
+ #include <avahi-common/cdecl.h>