net-wireless/irda-utils: pull SIOCGSTAMP, bug #692428
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 18 Aug 2019 09:08:57 +0000 (10:08 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 18 Aug 2019 09:09:21 +0000 (10:09 +0100)
https://wiki.gentoo.org/wiki/Linux_headers_5.2_porting_notes/SIOCGSTAMP
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/692428
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
net-wireless/irda-utils/files/irda-utils-0.9.18-SIOCGSTAMP.patch [new file with mode: 0644]
net-wireless/irda-utils/irda-utils-0.9.18-r6.ebuild

diff --git a/net-wireless/irda-utils/files/irda-utils-0.9.18-SIOCGSTAMP.patch b/net-wireless/irda-utils/files/irda-utils-0.9.18-SIOCGSTAMP.patch
new file mode 100644 (file)
index 0000000..3063db5
--- /dev/null
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/692428
+--- a/irdadump/irdadump.c
++++ b/irdadump/irdadump.c
+@@ -27,6 +27,7 @@
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <sys/ioctl.h>
++#include <linux/sockios.h> /* SIOCGSTAMP */
+ #include <net/if_arp.h>
+ #include <net/if_packet.h>
index 63f5b009aebe621495872c6c6a5a34ce286fd761..a709110c9040b1df1187559f3e8b3db9179dce09 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -36,6 +36,7 @@ PATCHES=(
        "${FILESDIR}/${P}-asneeded.patch"
        "${FILESDIR}/${P}-ldflags.patch"
        "${FILESDIR}/${P}-headers.patch"
+       "${FILESDIR}/${P}-SIOCGSTAMP.patch"
 )
 
 src_prepare() {