diff options
author | Sven Wegener <swegener@gentoo.org> | 2007-04-21 17:59:22 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2007-04-21 17:59:22 +0000 |
commit | 8b5230066a238357d070f3900ffdd244fca11748 (patch) | |
tree | 05281c282715353be3f7ea1c1fcbab337582d83d /net-dns/avahi/files | |
parent | Stable on ppc64; bug #174939 (diff) | |
download | gentoo-2-8b5230066a238357d070f3900ffdd244fca11748.tar.gz gentoo-2-8b5230066a238357d070f3900ffdd244fca11748.tar.bz2 gentoo-2-8b5230066a238357d070f3900ffdd244fca11748.zip |
Fix for systems where inotify is not available.
(Portage version: 2.1.2.4)
Diffstat (limited to 'net-dns/avahi/files')
-rw-r--r-- | net-dns/avahi/files/avahi-0.6.18-inotify-ifdef-fix.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-dns/avahi/files/avahi-0.6.18-inotify-ifdef-fix.patch b/net-dns/avahi/files/avahi-0.6.18-inotify-ifdef-fix.patch new file mode 100644 index 000000000000..78654551b519 --- /dev/null +++ b/net-dns/avahi/files/avahi-0.6.18-inotify-ifdef-fix.patch @@ -0,0 +1,18 @@ +Index: trunk/avahi-daemon/main.c +=================================================================== +--- trunk/avahi-daemon/main.c (revision 1450) ++++ trunk/avahi-daemon/main.c (working copy) +@@ -42,11 +42,13 @@ + #include <sys/resource.h> + #include <sys/socket.h> + ++#ifdef HAVE_INOTIFY + #ifdef HAVE_SYS_INOTIFY_H + #include <sys/inotify.h> + #else + #include "inotify-nosys.h" + #endif ++#endif + + #include <libdaemon/dfork.h> + #include <libdaemon/dsignal.h> |