]> git.pld-linux.org Git - packages/iproute2.git/blob - iproute2-build.patch
- killed .orig
[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/ip/iptunnel.c iproute2-2.6.14-051107/ip/iptunnel.c
29 --- iproute2-2.6.14-051107.org/ip/iptunnel.c    2005-02-10 19:31:18.000000000 +0100
30 +++ iproute2-2.6.14-051107/ip/iptunnel.c        2005-11-10 16:04:15.024922750 +0100
31 @@ -16,6 +16,7 @@
32   * Phil Karn <karn@ka9q.ampr.org>      990408: "pmtudisc" flag
33   */
34  
35 +#include <asm/byteorder.h>
36  #include <stdio.h>
37  #include <stdlib.h>
38  #include <string.h>
39 diff -urNbB iproute2-2.6.14-051107.org/Makefile iproute2-2.6.14-051107/Makefile
40 --- iproute2-2.6.14-051107.org/Makefile 2005-07-09 00:08:47.000000000 +0200
41 +++ iproute2-2.6.14-051107/Makefile     2005-11-10 16:04:15.024922750 +0100
42 @@ -10,7 +10,7 @@
43  DEFINES= -DRESOLVE_HOSTNAMES
44  
45  #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
46 -LDLIBS=-lresolv
47 +LDLIBS=
48  ADDLIB=
49  
50  #options for decnet
51 @@ -21,7 +21,7 @@
52  
53  CC = gcc
54  HOSTCC = gcc
55 -CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
56 +CCOPTS = -D_GNU_SOURCE $(OPT) -Wstrict-prototypes -Wall
57  CFLAGS = $(CCOPTS) -I../include $(DEFINES)
58  YACCFLAGS = -d -t -v
59  
60 diff -urNbB iproute2-2.6.14-051107.org/misc/ss.c iproute2-2.6.14-051107/misc/ss.c
61 --- iproute2-2.6.14-051107.org/misc/ss.c        2005-09-01 21:21:50.000000000 +0200
62 +++ iproute2-2.6.14-051107/misc/ss.c    2005-11-10 16:04:23.933479500 +0100
63 @@ -35,7 +35,6 @@
64  
65  #include <linux/inet_diag.h>
66  #include <linux/tcp.h>
67 -#include <net/tcp_states.h>
68  
69  int resolve_hosts = 0;
70  int resolve_services = 1;
This page took 0.034545 seconds and 4 git commands to generate.