]>
Commit | Line | Data |
---|---|---|
1 | diff -urN iproute2-2.6.8.org/Makefile iproute2-2.6.8/Makefile | |
2 | --- iproute2-2.6.8.org/Makefile 2004-07-16 21:49:23.066528064 +0200 | |
3 | +++ iproute2-2.6.8/Makefile 2004-07-16 21:50:01.491686552 +0200 | |
4 | @@ -10,7 +10,7 @@ | |
5 | DEFINES= -DRESOLVE_HOSTNAMES | |
6 | ||
7 | #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc) | |
8 | -LDLIBS=-lresolv | |
9 | +LDLIBS= | |
10 | ADDLIB= | |
11 | ||
12 | #options for decnet | |
13 | @@ -21,7 +21,7 @@ | |
14 | ||
15 | CC = gcc | |
16 | HOSTCC = gcc | |
17 | -CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g | |
18 | +CCOPTS = -D_GNU_SOURCE $(OPT) -Wstrict-prototypes -Wall | |
19 | CFLAGS = $(CCOPTS) -I../include $(DEFINES) | |
20 | ||
21 | LDLIBS += -L../lib -lnetlink -lutil | |
22 | --- iproute2-050124/ip/iptunnel.c.orig 2005-01-25 01:13:46.000000000 +0100 | |
23 | +++ iproute2-050124/ip/iptunnel.c 2005-01-25 10:26:02.716547608 +0100 | |
24 | @@ -16,6 +16,7 @@ | |
25 | * Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag | |
26 | */ | |
27 | ||
28 | +#include <asm/byteorder.h> | |
29 | #include <stdio.h> | |
30 | #include <stdlib.h> | |
31 | #include <string.h> |