]> git.pld-linux.org Git - packages/iproute2.git/blobdiff - iproute2-build.patch
- up to 4.13.0
[packages/iproute2.git] / iproute2-build.patch
index 87e931abaa9b70bade838567a336f2d8b69f4e56..36452cf29555510d4aa922d7d91e1d79c5d102bb 100644 (file)
@@ -1,48 +1,11 @@
-diff -urNbB iproute2-2.6.14-051107.org/configure iproute2-2.6.14-051107/configure
---- iproute2-2.6.14-051107.org/configure       2005-01-18 00:26:46.000000000 +0100
-+++ iproute2-2.6.14-051107/configure   2005-11-10 16:04:15.024922750 +0100
-@@ -8,7 +8,7 @@
- echo "TC schedulers"
- echo -n " ATM "
--cat >/tmp/atmtest.c <<EOF
-+cat >atmtest.c <<EOF
- #include <atm.h>
- int main(int argc, char **argv) {
-       struct atm_qos qos;
-@@ -16,7 +16,7 @@
-       return 0;
- }
- EOF
--gcc -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1 
-+gcc -I$INCLUDE -o atmtest atmtest.c -latm >/dev/null 2>&1 
- if [ $? -eq 0 ]
- then
-     echo "TC_CONFIG_ATM:=y" >>Config
-@@ -24,4 +24,4 @@
- else
-     echo no
- fi
--rm -f /tmp/atmtest.c /tmp/atmtest
-+rm -f atmtest*
-diff -urNbB iproute2-2.6.14-051107.org/Makefile iproute2-2.6.14-051107/Makefile
---- iproute2-2.6.14-051107.org/Makefile        2005-07-09 00:08:47.000000000 +0200
-+++ iproute2-2.6.14-051107/Makefile    2005-11-10 16:04:15.024922750 +0100
-@@ -10,7 +10,7 @@
- DEFINES= -DRESOLVE_HOSTNAMES
- #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
--LDLIBS=-lresolv
-+LDLIBS=
- ADDLIB=
- #options for decnet
-@@ -21,7 +21,7 @@
- CC = gcc
- HOSTCC = gcc
--CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-+CCOPTS = -D_GNU_SOURCE $(OPT) -Wstrict-prototypes -Wall
- CFLAGS = $(CCOPTS) -I../include $(DEFINES)
- YACCFLAGS = -d -t -v
+--- iproute2-3.8.0/ip/iplink_can.c~    2013-02-21 17:41:20.000000000 +0100
++++ iproute2-3.8.0/ip/iplink_can.c     2013-03-05 22:03:13.578484638 +0100
+@@ -107,7 +107,7 @@
+                       if (get_u32(&bt.bitrate, *argv, 0))
+                               invarg("invalid \"bitrate\" value\n", *argv);
+               } else if (matches(*argv, "sample-point") == 0) {
+-                      float sp;
++                      float sp = 0;
+                       NEXT_ARG();
+                       if (get_float(&sp, *argv))
This page took 0.024437 seconds and 4 git commands to generate.