summaryrefslogtreecommitdiff
path: root/meta/packages/zeroconf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-04 10:07:29 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-04 10:07:29 +0100
commit0e842cf1b5356090005ddb301e86bee7b1a180fb (patch)
tree0024ab53d324a17a6fdd224e551d09aeccb3f876 /meta/packages/zeroconf
parenta340d3cda7c5716376ae3b6a1e3d96139704cbfd (diff)
downloadopenembedded-core-0e842cf1b5356090005ddb301e86bee7b1a180fb.tar.gz
openembedded-core-0e842cf1b5356090005ddb301e86bee7b1a180fb.tar.bz2
openembedded-core-0e842cf1b5356090005ddb301e86bee7b1a180fb.zip
zeroconf: Fix compile issue
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/zeroconf')
-rw-r--r--meta/packages/zeroconf/zeroconf/compilefix.patch17
-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.bb7
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 0000000000..b7b917dc2b
--- /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 c3705d2788..c3705d2788 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 cc07b275f1..cc07b275f1 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 c8f7ddfa3a..f22466eea7 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}