]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- with agressive opts: iplink_can.c:116:33: error: 'sp' may be used uninitialized...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 5 Mar 2013 21:05:17 +0000 (22:05 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 5 Mar 2013 21:05:17 +0000 (22:05 +0100)
iproute2-build.patch [new file with mode: 0644]
iproute2.spec

diff --git a/iproute2-build.patch b/iproute2-build.patch
new file mode 100644 (file)
index 0000000..36452cf
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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))
index 226eb0601a667b3c83c67cd2efa5b416a2c0ec8b..6466d5baa1a549b8c19d9868fa739b5f7ede60b3 100644 (file)
@@ -32,6 +32,7 @@ Patch12:      001-net-dev-iface-descr-0.1.diff
 Patch13:       %{name}-q_atm_c.patch
 Patch14:       %{name}-q_srr.v0.4.patch
 Patch15:       %{name}-ip_route_get.patch
+Patch16:       %{name}-build.patch
 URL:           http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
 BuildRequires: bison
 BuildRequires: db-devel
@@ -128,6 +129,7 @@ Dokumentacja do iproute zawiera "howto" oraz przykłady ustawień.
 %patch13 -p0
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %build
 %{__make} \
This page took 0.21805 seconds and 4 git commands to generate.