diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-12-12 22:26:51 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-12-12 22:26:51 +0000 |
commit | 21e97d3e155f4d9604f729698cdfff3c40eefbe7 (patch) | |
tree | 537888ff1cab21569b3bebdb44faee883d051995 /package/avahi/uclibc.patch | |
parent | a7748b2f132b1e7c1a87a5f3d80cb64e46ce5219 (diff) | |
download | buildroot-novena-21e97d3e155f4d9604f729698cdfff3c40eefbe7.tar.gz buildroot-novena-21e97d3e155f4d9604f729698cdfff3c40eefbe7.zip |
Add avahi package and add libdaemon, which is needed by avahi
Diffstat (limited to 'package/avahi/uclibc.patch')
-rw-r--r-- | package/avahi/uclibc.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/avahi/uclibc.patch b/package/avahi/uclibc.patch new file mode 100644 index 000000000..5b2e17022 --- /dev/null +++ b/package/avahi/uclibc.patch @@ -0,0 +1,19 @@ +diff -urN avahi-0.6.14-orig/avahi-core/socket.c avahi-0.6.14/avahi-core/socket.c +--- avahi-0.6.14-orig/avahi-core/socket.c 2006-08-31 10:18:03.000000000 -0700 ++++ avahi-0.6.14/avahi-core/socket.c 2006-09-21 19:01:31.000000000 -0700 +@@ -394,13 +394,13 @@ + avahi_log_warn("IPV6_UNICAST_HOPS failed: %s", strerror(errno)); + goto fail; + } +- ++#ifdef IPV6_V6ONLY + yes = 1; + if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &yes, sizeof(yes)) < 0) { + avahi_log_warn("IPV6_V6ONLY failed: %s", strerror(errno)); + goto fail; + } +- ++#endif + yes = 1; + if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, &yes, sizeof(yes)) < 0) { + avahi_log_warn("IPV6_MULTICAST_LOOP failed: %s", strerror(errno)); |