]> git.pld-linux.org Git - packages/iproute2.git/blobdiff - iproute2-build.patch
- up to 4.13.0
[packages/iproute2.git] / iproute2-build.patch
index 29e31614a4ca57f9bbf428ff72267d02bdef57c9..36452cf29555510d4aa922d7d91e1d79c5d102bb 100644 (file)
-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/ip/iptunnel.c iproute2-2.6.14-051107/ip/iptunnel.c
---- iproute2-2.6.14-051107.org/ip/iptunnel.c   2005-02-10 19:31:18.000000000 +0100
-+++ iproute2-2.6.14-051107/ip/iptunnel.c       2005-11-10 16:04:15.024922750 +0100
-@@ -16,6 +16,7 @@
-  * Phil Karn <karn@ka9q.ampr.org>     990408: "pmtudisc" flag
-  */
-+#include <asm/byteorder.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-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
-diff -urNbB iproute2-2.6.14-051107.org/Makefile.orig iproute2-2.6.14-051107/Makefile.orig
---- iproute2-2.6.14-051107.org/Makefile.orig   1970-01-01 01:00:00.000000000 +0100
-+++ iproute2-2.6.14-051107/Makefile.orig       2005-07-09 00:08:47.000000000 +0200
-@@ -0,0 +1,72 @@
-+DESTDIR=
-+SBINDIR=/usr/sbin
-+CONFDIR=/etc/iproute2
-+DOCDIR=/usr/share/doc/iproute2
-+MANDIR=/usr/share/man
-+
-+# Path to db_185.h include
-+DBM_INCLUDE:=/usr/include
-+
-+DEFINES= -DRESOLVE_HOSTNAMES
-+
-+#options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
-+LDLIBS=-lresolv
-+ADDLIB=
-+
-+#options for decnet
-+ADDLIB+=dnet_ntop.o dnet_pton.o
-+
-+#options for ipx
-+ADDLIB+=ipx_ntop.o ipx_pton.o
-+
-+CC = gcc
-+HOSTCC = gcc
-+CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-+CFLAGS = $(CCOPTS) -I../include $(DEFINES)
-+YACCFLAGS = -d -t -v
-+
-+LDLIBS += -L../lib -lnetlink -lutil
-+
-+SUBDIRS=lib ip tc misc netem
-+
-+LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
-+
-+all: Config
-+      @for i in $(SUBDIRS); \
-+      do $(MAKE) $(MFLAGS) -C $$i; done
-+
-+Config:
-+      sh configure $(KERNEL_INCLUDE)
-+
-+install: all
-+      install -m 0755 -d $(DESTDIR)$(SBINDIR)
-+      install -m 0755 -d $(DESTDIR)$(CONFDIR)
-+      install -m 0755 -d $(DESTDIR)$(DOCDIR)/examples
-+      install -m 0755 -d $(DESTDIR)$(DOCDIR)/examples/diffserv
-+      install -m 0644 README.iproute2+tc $(shell find examples -maxdepth 1 -type f) \
-+              $(DESTDIR)$(DOCDIR)/examples
-+      install -m 0644 $(shell find examples/diffserv -maxdepth 1 -type f) \
-+              $(DESTDIR)$(DOCDIR)/examples/diffserv
-+      @for i in $(SUBDIRS) doc; do $(MAKE) -C $$i install; done
-+      install -m 0644 $(shell find etc/iproute2 -maxdepth 1 -type f) $(DESTDIR)$(CONFDIR)
-+      install -m 0755 -d $(DESTDIR)$(MANDIR)/man8
-+      install -m 0644 $(shell find man/man8 -maxdepth 1 -type f) $(DESTDIR)$(MANDIR)/man8
-+      ln -sf tc-pbfifo.8  $(DESTDIR)$(MANDIR)/man8/tc-bfifo.8
-+      ln -sf tc-pbfifo.8  $(DESTDIR)$(MANDIR)/man8/tc-pfifo.8
-+      install -m 0755 -d $(DESTDIR)$(MANDIR)/man3
-+      install -m 0644 $(shell find man/man3 -maxdepth 1 -type f) $(DESTDIR)$(MANDIR)/man3
-+
-+clean:
-+      rm -f cscope.*
-+      @for i in $(SUBDIRS) doc; \
-+      do $(MAKE) $(MFLAGS) -C $$i clean; done
-+
-+clobber: clean
-+      rm -f Config
-+
-+distclean: clobber
-+
-+cscope:
-+      cscope -b -q -R -Iinclude -sip -slib -smisc -snetem -stc
-+
-+.EXPORT_ALL_VARIABLES:
-diff -urNbB iproute2-2.6.14-051107.org/misc/ss.c iproute2-2.6.14-051107/misc/ss.c
---- iproute2-2.6.14-051107.org/misc/ss.c       2005-09-01 21:21:50.000000000 +0200
-+++ iproute2-2.6.14-051107/misc/ss.c   2005-11-10 16:04:23.933479500 +0100
-@@ -35,7 +35,6 @@
- #include <linux/inet_diag.h>
- #include <linux/tcp.h>
--#include <net/tcp_states.h>
- int resolve_hosts = 0;
- int resolve_services = 1;
+--- 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.067298 seconds and 4 git commands to generate.