]> git.pld-linux.org Git - packages/ethtool.git/commitdiff
- updated to 5.6 auto/th/ethtool-5.6-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 May 2020 05:53:33 +0000 (07:53 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 May 2020 05:53:33 +0000 (07:53 +0200)
- added format patch

ethtool-format.patch [new file with mode: 0644]
ethtool.spec

diff --git a/ethtool-format.patch b/ethtool-format.patch
new file mode 100644 (file)
index 0000000..75a6770
--- /dev/null
@@ -0,0 +1,11 @@
+--- ethtool-5.6/netlink/settings.c.orig        2020-03-13 20:10:51.000000000 +0100
++++ ethtool-5.6/netlink/settings.c     2020-05-16 07:50:02.098853940 +0200
+@@ -375,7 +375,7 @@
+ after:
+       if (first && if_none)
+               printf("%s", if_none);
+-      printf(after);
++      fputs(after, stdout);
+       return 0;
+ err:
index 6387b70e5e50ec7740b321474211cca914d82ed2..d9695a13ec9005c189c1bf94d9cb5ae43d1ff82b 100644 (file)
@@ -3,16 +3,19 @@ Summary(es.UTF-8):    Grupos de herramientas Ethernet
 Summary(pl.UTF-8):     Narzędzie do kontrolowania kart ethernet
 Summary(pt_BR.UTF-8):  Ferramenta de configuração para placas ethernet PCI
 Name:          ethtool
-Version:       5.4
+Version:       5.6
 Release:       1
 Epoch:         1
 License:       GPL v2
 Group:         Networking/Admin
 Source0:       https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz
-# Source0-md5: 3d4bbf2be9fb25059186691918eaffe9
+# Source0-md5: 254aacdfd08cee3790d4b6f254997947
+Patch0:                %{name}-format.patch
 URL:           https://www.kernel.org/pub/software/network/ethtool/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
+BuildRequires: libmnl-devel
+BuildRequires: pkgconfig
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,6 +53,7 @@ Bashowe dopełnianie parametrów polecenia ethtool.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
This page took 0.301611 seconds and 4 git commands to generate.