From bfdfd1bc5bcdca8b133ddaa7f1c33df96123a009 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 28 May 2008 00:49:38 +0000 Subject: Include limits.h explicitly in zeroconf.c --- packages/zeroconf/files/zeroconf-limits.h.patch | 21 +++++++++++++++++++++ packages/zeroconf/zeroconf_0.9.bb | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 packages/zeroconf/files/zeroconf-limits.h.patch (limited to 'packages/zeroconf') diff --git a/packages/zeroconf/files/zeroconf-limits.h.patch b/packages/zeroconf/files/zeroconf-limits.h.patch new file mode 100644 index 0000000000..46ba208fa5 --- /dev/null +++ b/packages/zeroconf/files/zeroconf-limits.h.patch @@ -0,0 +1,21 @@ +In newer glibc after this commit. + +http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/bits/socket.h.diff?r1=1.60&r2=1.61&cvsroot=glibc + + +do not include limits.h indirectly through sockets.h so we would need to include limits.h explicitely. + +-Khem + +Index: zeroconf-0.9/zeroconf.c +=================================================================== +--- zeroconf-0.9.orig/zeroconf.c 2008-05-27 16:56:05.000000000 -0700 ++++ zeroconf-0.9/zeroconf.c 2008-05-27 16:56:20.000000000 -0700 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #include "delay.h" + diff --git a/packages/zeroconf/zeroconf_0.9.bb b/packages/zeroconf/zeroconf_0.9.bb index c8f7ddfa3a..5c42237888 100644 --- a/packages/zeroconf/zeroconf_0.9.bb +++ b/packages/zeroconf/zeroconf_0.9.bb @@ -5,10 +5,11 @@ 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://zeroconf-limits.h.patch;patch=1 \ file://debian-zeroconf" do_install () { -- cgit v1.2.3