commit:     e62786ddceb7376cb9abf97d0b89fdc62ea7dcb3
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 18 09:08:57 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Aug 18 09:09:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e62786dd

net-wireless/irda-utils: pull SIOCGSTAMP, bug #692428

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 <AT> gentoo.org>

 .../irda-utils/files/irda-utils-0.9.18-SIOCGSTAMP.patch       | 11 +++++++++++
 net-wireless/irda-utils/irda-utils-0.9.18-r6.ebuild           |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

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
index 00000000000..3063db55b03
--- /dev/null
+++ b/net-wireless/irda-utils/files/irda-utils-0.9.18-SIOCGSTAMP.patch
@@ -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>

diff --git a/net-wireless/irda-utils/irda-utils-0.9.18-r6.ebuild 
b/net-wireless/irda-utils/irda-utils-0.9.18-r6.ebuild
index 63f5b009aeb..a709110c904 100644
--- a/net-wireless/irda-utils/irda-utils-0.9.18-r6.ebuild
+++ b/net-wireless/irda-utils/irda-utils-0.9.18-r6.ebuild
@@ -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() {

Reply via email to