[oe-commits] org.oe.dev Include limits.h explicitly in zeroconf.c

khem commit oe at amethyst.openembedded.net
Wed May 28 01:02:13 UTC 2008


Include limits.h explicitly in zeroconf.c

Author: khem at openembedded.org
Branch: org.openembedded.dev
Revision: 776ac285eff3b1ef2fc027e6f898a4130593e87e
ViewMTN: http://monotone.openembedded.org/revision/info/776ac285eff3b1ef2fc027e6f898a4130593e87e
Files:
1
packages/zeroconf/files/zeroconf-limits.h.patch
packages/zeroconf/zeroconf_0.9.bb
Diffs:

#
# mt diff -rcdc83edb565348033a232d551db8f3f961615242 -r776ac285eff3b1ef2fc027e6f898a4130593e87e
#
#
#
# add_file "packages/zeroconf/files/zeroconf-limits.h.patch"
#  content [6e86c938b07aeecb0f65d3f8dc0f2520a5e136a2]
# 
# patch "packages/zeroconf/zeroconf_0.9.bb"
#  from [3558f5f8b059ce1cc42ab5e9713f6e238f4c8d79]
#    to [c202beb749b834c348619e11e8854c75d002ef1a]
#
============================================================
--- packages/zeroconf/files/zeroconf-limits.h.patch	6e86c938b07aeecb0f65d3f8dc0f2520a5e136a2
+++ packages/zeroconf/files/zeroconf-limits.h.patch	6e86c938b07aeecb0f65d3f8dc0f2520a5e136a2
@@ -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 <net/if_arp.h>
+ #include <sys/time.h>
+ #include <signal.h>
++#include <limits.h>
+ 
+ #include "delay.h"
+ 
============================================================
--- packages/zeroconf/zeroconf_0.9.bb	3558f5f8b059ce1cc42ab5e9713f6e238f4c8d79
+++ packages/zeroconf/zeroconf_0.9.bb	c202beb749b834c348619e11e8854c75d002ef1a
@@ -5,10 +5,11 @@ PRIORITY = "optional"
 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 () {






More information about the Openembedded-commits mailing list