diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/zeroconf/zeroconf/compilefix.patch | 17 | ||||
-rw-r--r-- | meta/packages/zeroconf/zeroconf/debian-zeroconf (renamed from meta/packages/zeroconf/files/debian-zeroconf) | 0 | ||||
-rw-r--r-- | meta/packages/zeroconf/zeroconf/zeroconf-default (renamed from meta/packages/zeroconf/files/zeroconf-default) | 0 | ||||
-rw-r--r-- | meta/packages/zeroconf/zeroconf_0.9.bb | 7 |
4 files changed, 21 insertions, 3 deletions
diff --git a/meta/packages/zeroconf/zeroconf/compilefix.patch b/meta/packages/zeroconf/zeroconf/compilefix.patch new file mode 100644 index 000000000..b7b917dc2 --- /dev/null +++ b/meta/packages/zeroconf/zeroconf/compilefix.patch @@ -0,0 +1,17 @@ +| zeroconf.c: In function 'main': +| zeroconf.c:145: error: 'PATH_MAX' undeclared (first use in this function) + +RP - 4/9/09 + +Index: zeroconf-0.9/zeroconf.c +=================================================================== +--- zeroconf-0.9.orig/zeroconf.c 2009-09-04 10:05:25.000000000 +0100 ++++ zeroconf-0.9/zeroconf.c 2009-09-04 10:05:42.000000000 +0100 +@@ -33,6 +33,7 @@ + #include <net/if_arp.h> + #include <sys/time.h> + #include <signal.h> ++#include <limits.h> + + #include "delay.h" + diff --git a/meta/packages/zeroconf/files/debian-zeroconf b/meta/packages/zeroconf/zeroconf/debian-zeroconf index c3705d278..c3705d278 100644 --- a/meta/packages/zeroconf/files/debian-zeroconf +++ b/meta/packages/zeroconf/zeroconf/debian-zeroconf diff --git a/meta/packages/zeroconf/files/zeroconf-default b/meta/packages/zeroconf/zeroconf/zeroconf-default index cc07b275f..cc07b275f 100644 --- a/meta/packages/zeroconf/files/zeroconf-default +++ b/meta/packages/zeroconf/zeroconf/zeroconf-default diff --git a/meta/packages/zeroconf/zeroconf_0.9.bb b/meta/packages/zeroconf/zeroconf_0.9.bb index c8f7ddfa3..f22466eea 100644 --- a/meta/packages/zeroconf/zeroconf_0.9.bb +++ b/meta/packages/zeroconf/zeroconf_0.9.bb @@ -5,11 +5,12 @@ LICENSE = "GPL" SECTION = "net" PRIORITY = "optional" -PR = "r0" +PR = "r1" SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${PN}-${PV}.tar.gz \ - file://zeroconf-default \ - file://debian-zeroconf" + file://compilefix.patch;patch=1 \ + file://zeroconf-default \ + file://debian-zeroconf" do_install () { install -d ${D}${sbindir} |