]> git.pld-linux.org Git - packages/iproute2.git/blob - iproute2-build.patch
- rel 3; fix build with new iptables 1.4.11
[packages/iproute2.git] / iproute2-build.patch
1 diff -urNbB iproute2-2.6.14-051107.org/configure iproute2-2.6.14-051107/configure
2 --- iproute2-2.6.14-051107.org/configure        2005-01-18 00:26:46.000000000 +0100
3 +++ iproute2-2.6.14-051107/configure    2005-11-10 16:04:15.024922750 +0100
4 @@ -5,7 +5,7 @@
5  
6  function check_atm
7  {
8 -cat >/tmp/atmtest.c <<EOF
9 +cat >atmtest.c <<EOF
10  #include <atm.h>
11  int main(int argc, char **argv) {
12         struct atm_qos qos;
13 @@ -16,7 +16,7 @@
14         return 0;
15  }
16  EOF
17 -gcc -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1 
18 +gcc -I$INCLUDE -o atmtest atmtest.c -latm >/dev/null 2>&1 
19  if [ $? -eq 0 ]
20  then
21      echo "TC_CONFIG_ATM:=y" >>Config
22 @@ -21,7 +21,7 @@
23  else
24      echo no
25  fi
26 -rm -f /tmp/atmtest.c /tmp/atmtest
27 +rm -f atmtest*
28  }
29  
30  function check_xt
31 diff -urNbB iproute2-2.6.14-051107.org/Makefile iproute2-2.6.14-051107/Makefile
32 --- iproute2-2.6.14-051107.org/Makefile 2005-07-09 00:08:47.000000000 +0200
33 +++ iproute2-2.6.14-051107/Makefile     2005-11-10 16:04:15.024922750 +0100
34 @@ -10,7 +10,7 @@
35  DEFINES= -DRESOLVE_HOSTNAMES
36  
37  #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
38 -LDLIBS=-lresolv
39 +LDLIBS=
40  ADDLIB=
41  
42  #options for decnet
43 @@ -21,7 +21,7 @@
44  
45  CC = gcc
46  HOSTCC = gcc
47 -CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
48 +CCOPTS = -D_GNU_SOURCE $(OPT) -Wstrict-prototypes -Wall
49  CFLAGS = $(CCOPTS) -I../include $(DEFINES)
50  YACCFLAGS = -d -t -v
51  
This page took 0.082681 seconds and 3 git commands to generate.