]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- rel 3; gcc 4.8 build fix auto/th/iproute2-3.9.0-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 30 May 2013 20:46:13 +0000 (22:46 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 30 May 2013 20:46:13 +0000 (22:46 +0200)
iproute2-build.patch
iproute2.spec

index 36452cf29555510d4aa922d7d91e1d79c5d102bb..37ba1dbf804cf0dd447a2af7016c1c5de40d0fe6 100644 (file)
@@ -9,3 +9,14 @@
  
                        NEXT_ARG();
                        if (get_float(&sp, *argv))
+--- iproute2-3.9.0/misc/lnstat.c~      2013-04-30 16:47:54.000000000 +0200
++++ iproute2-3.9.0/misc/lnstat.c       2013-05-30 22:45:08.501795069 +0200
+@@ -166,7 +166,7 @@
+       for (i = 0; i < HDR_LINES; i++) {
+               th.hdr[i] = malloc(HDR_LINE_LENGTH);
+-              memset(th.hdr[i], 0, sizeof(th.hdr[i]));
++              memset(th.hdr[i], 0, HDR_LINE_LENGTH);
+       }
+       for (i = 0; i < fps->num; i++) {
index 153ded5c1a786cd714b92bf36a2c6a836818e8bc..a9f18e69d4be31596a823810f6ccc73ee13a199c 100644 (file)
@@ -16,7 +16,7 @@ Summary(pl.UTF-8):    Narzędzie do konfigurowania sieci
 Summary(pt_BR.UTF-8):  Ferramentas para roteamento avançado e configuração de interfaces de rede
 Name:          iproute2
 Version:       3.9.0
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Networking/Admin
 Source0:       http://kernel.org/pub/linux/utils/net/iproute2/%{name}-%{version}.tar.xz
This page took 0.251596 seconds and 4 git commands to generate.