summaryrefslogtreecommitdiff
path: root/package/avahi/avahi-disable-systemd-support.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-19 16:00:51 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-19 16:01:28 +0200
commit4e302ac83d89fd370cab96ffa30ad406dd104ec0 (patch)
tree4f5ceba573c4f895a3816f08d86f747bc081d7fc /package/avahi/avahi-disable-systemd-support.patch
parentfbc22ecaef7b3422b8e74e50832b210577d8898f (diff)
avahi: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/avahi/avahi-disable-systemd-support.patch')
-rw-r--r--package/avahi/avahi-disable-systemd-support.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/avahi/avahi-disable-systemd-support.patch b/package/avahi/avahi-disable-systemd-support.patch
new file mode 100644
index 000000000..909795ade
--- /dev/null
+++ b/package/avahi/avahi-disable-systemd-support.patch
@@ -0,0 +1,22 @@
+[PATCH] avahi-daemon: disable systemd support
+
+Disable systemd support as it isn't needed for BR, and uses SOCK_CLOEXEC
+which isn't available on uClibc.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ avahi-daemon/sd-daemon.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: avahi-0.6.27/avahi-daemon/sd-daemon.h
+===================================================================
+--- avahi-0.6.27.orig/avahi-daemon/sd-daemon.h
++++ avahi-0.6.27/avahi-daemon/sd-daemon.h
+@@ -66,6 +66,7 @@ extern "C" {
+
+ See sd-daemon(7) for more information.
+ */
++#define DISABLE_SYSTEMD /* no systemd support in BR */
+
+ #if __GNUC__ >= 4
+ #define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b)))