]> git.pld-linux.org Git - packages/iproute2.git/blob - iproute2-build.patch
- no code parts, just (build-time) security fix and optflags support
[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 @@ -8,7 +8,7 @@
5  echo "TC schedulers"
6  
7  echo -n " ATM  "
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 @@ -24,4 +24,4 @@
23  else
24      echo no
25  fi
26 -rm -f /tmp/atmtest.c /tmp/atmtest
27 +rm -f atmtest*
28 diff -urNbB iproute2-2.6.14-051107.org/Makefile iproute2-2.6.14-051107/Makefile
29 --- iproute2-2.6.14-051107.org/Makefile 2005-07-09 00:08:47.000000000 +0200
30 +++ iproute2-2.6.14-051107/Makefile     2005-11-10 16:04:15.024922750 +0100
31 @@ -10,7 +10,7 @@
32  DEFINES= -DRESOLVE_HOSTNAMES
33  
34  #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
35 -LDLIBS=-lresolv
36 +LDLIBS=
37  ADDLIB=
38  
39  #options for decnet
40 @@ -21,7 +21,7 @@
41  
42  CC = gcc
43  HOSTCC = gcc
44 -CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
45 +CCOPTS = -D_GNU_SOURCE $(OPT) -Wstrict-prototypes -Wall
46  CFLAGS = $(CCOPTS) -I../include $(DEFINES)
47  YACCFLAGS = -d -t -v
48  
This page took 0.07098 seconds and 4 git commands to generate.