avahi-disable-systemd-support.patch 706 B

12345678910111213141516171819202122
  1. [PATCH] avahi-daemon: disable systemd support
  2. Disable systemd support as it isn't needed for BR, and uses SOCK_CLOEXEC
  3. which isn't available on uClibc.
  4. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  5. ---
  6. avahi-daemon/sd-daemon.h | 1 +
  7. 1 file changed, 1 insertion(+)
  8. Index: avahi-0.6.27/avahi-daemon/sd-daemon.h
  9. ===================================================================
  10. --- avahi-0.6.27.orig/avahi-daemon/sd-daemon.h
  11. +++ avahi-0.6.27/avahi-daemon/sd-daemon.h
  12. @@ -66,6 +66,7 @@ extern "C" {
  13. See sd-daemon(7) for more information.
  14. */
  15. +#define DISABLE_SYSTEMD /* no systemd support in BR */
  16. #if __GNUC__ >= 4
  17. #define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b)))