Author: jim
Date: 2005-02-24 00:18:06 -0700 (Thu, 24 Feb 2005)
New Revision: 851

Added:
   trunk/iproute2/iproute2-2.6.10_050209-htons_fix-1.patch
   trunk/iproute2/iproute2-2.6.10_050209-remove_db-1.patch
Log:
Updated: IPRoute2 Patches

Added: trunk/iproute2/iproute2-2.6.10_050209-htons_fix-1.patch
===================================================================
--- trunk/iproute2/iproute2-2.6.10_050209-htons_fix-1.patch     2005-02-24 
03:01:06 UTC (rev 850)
+++ trunk/iproute2/iproute2-2.6.10_050209-htons_fix-1.patch     2005-02-24 
07:18:06 UTC (rev 851)
@@ -0,0 +1,23 @@
+Submitted By: Jim Gifford (patches at jg555 dot com)
+Date: 2005-02-10
+Initial Package Version: 050207
+Origin: Stephen Hemminger
+Upstream Status: Next Release
+Description: Fixes compile issue
+            
+       undefined reference to `__constant_htons' 
+
+--- iproute2-2.6.9-050209/ip/iptunnel.c.orig   2005-02-10 19:02:45.774340480 
+0000
++++ iproute2-2.6.9-050209/ip/iptunnel.c        2005-02-10 19:03:21.531904504 
+0000
+@@ -29,6 +29,11 @@
+ #include <linux/if.h>
+ #include <linux/if_arp.h>
+ #include <linux/ip.h>
++
++#ifndef __constant_htons
++#define __constant_htons(x)  htons(x)
++#endif
++
+ #include <linux/if_tunnel.h>
+ 
+ #include "rt_names.h"

Added: trunk/iproute2/iproute2-2.6.10_050209-remove_db-1.patch
===================================================================
--- trunk/iproute2/iproute2-2.6.10_050209-remove_db-1.patch     2005-02-24 
03:01:06 UTC (rev 850)
+++ trunk/iproute2/iproute2-2.6.10_050209-remove_db-1.patch     2005-02-24 
07:18:06 UTC (rev 851)
@@ -0,0 +1,30 @@
+Submitted By: Jeremy Utley <[EMAIL PROTECTED]>
+Date: 2004-11-04
+Initial Package Version: 2.6.9-041019
+Upstream Status - Not submitted - LFS Specific
+Origin: Based on inital work by Jim Gifford, ported to apply to the latest 
version
+Description: Disables compilation of the arpd program, which requres Berkley 
DB.
+
+
+diff -Naur iproute2-2.6.9/misc/Makefile iproute2-2.6.9-new/misc/Makefile
+--- iproute2-2.6.9/misc/Makefile       2004-10-19 20:49:02.000000000 +0000
++++ iproute2-2.6.9-new/misc/Makefile   2004-11-04 19:14:43.704002010 +0000
+@@ -1,7 +1,7 @@
+ SSOBJ=ss.o ssfilter.o
+ LNSTATOBJ=lnstat.o lnstat_util.o
+ 
+-TARGETS=ss nstat ifstat rtacct arpd lnstat
++TARGETS=ss nstat ifstat rtacct lnstat
+ 
+ include ../Config
+ 
+@@ -18,9 +18,6 @@
+ rtacct: rtacct.c
+       $(CC) $(CFLAGS) $(LDFLAGS) -o rtacct rtacct.c $(LIBNETLINK) -lm
+ 
+-arpd: arpd.c
+-      $(CC) $(CFLAGS) -I$(DBM_INCLUDE) $(LDFLAGS) -o arpd arpd.c 
$(LIBNETLINK) -ldb -lpthread
+-
+ ssfilter.c: ssfilter.y
+       bison ssfilter.y -o ssfilter.c
+ 

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to