]> git.pld-linux.org Git - packages/iproute2.git/blob - iproute2-make.patch
- patches for iproute2.
[packages/iproute2.git] / iproute2-make.patch
1 --- iproute2/Makefile   Sat Mar 27 20:32:41 1999
2 +++ iproute2.new/Makefile       Sun May  2 00:44:44 1999
3 @@ -4,7 +4,7 @@
4  #KERNEL_INCLUDE=/home1/root/vger-129/vger-mirror/linux/include
5  KERNEL_INCLUDE=/usr/src/linux/include
6  
7 -DEFINES= #-DRESOLVE_HOSTNAMES
8 +DEFINES= -DRESOLVE_HOSTNAMES
9  
10  #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
11  LDLIBS=-lresolv
12 @@ -24,7 +24,7 @@
13  endif
14  
15  CC=gcc
16 -CFLAGS=-D_GNU_SOURCE -O2 -Wall -g $(GLIBCFIX) -I$(KERNEL_INCLUDE) -I../include $(DEFINES)
17 +CFLAGS=-D_GNU_SOURCE $(OPT) -Wall -g $(GLIBCFIX) -I$(KERNEL_INCLUDE) -I../include $(DEFINES)
18  
19  LDLIBS += -L../lib -lnetlink -lutil
20  
21 --- iproute2/include/libnetlink.h       Tue Nov 17 20:15:02 1998
22 +++ iproute2.new/include/libnetlink.h   Sun May  2 00:45:34 1999
23 @@ -1,6 +1,10 @@
24  #ifndef __LIBNETLINK_H__
25  #define __LIBNETLINK_H__ 1
26  
27 +#ifndef MSG_TRUNC
28 +#define MSG_TRUNC 0x20
29 +#endif
30 +
31  #include <asm/types.h>
32  #include <linux/netlink.h>
33  #include <linux/rtnetlink.h>
34 --- iproute2/ip/iptunnel.c      Thu Apr  8 19:45:55 1999
35 +++ iproute2.new/ip/iptunnel.c  Sun May  2 00:46:29 1999
36 @@ -33,6 +33,8 @@
37  
38  #include "utils.h"
39  
40 +#define __constant_htons(x) (x)
41 +
42  static void usage(void) __attribute__((noreturn));
43  
44  static void usage(void)
This page took 0.028914 seconds and 4 git commands to generate.