summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-08-18 10:08:57 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-08-18 10:09:21 +0100
commite62786ddceb7376cb9abf97d0b89fdc62ea7dcb3 (patch)
tree9fe86b5dd749515616519fb38266c4dc51b1a615 /net-wireless/irda-utils
parentssl-cert.eclass: improve EAPI 7 support (diff)
downloadgentoo-e62786ddceb7376cb9abf97d0b89fdc62ea7dcb3.tar.gz
gentoo-e62786ddceb7376cb9abf97d0b89fdc62ea7dcb3.tar.bz2
gentoo-e62786ddceb7376cb9abf97d0b89fdc62ea7dcb3.zip
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@gentoo.org>
Diffstat (limited to 'net-wireless/irda-utils')
-rw-r--r--net-wireless/irda-utils/files/irda-utils-0.9.18-SIOCGSTAMP.patch11
-rw-r--r--net-wireless/irda-utils/irda-utils-0.9.18-r6.ebuild3
2 files changed, 13 insertions, 1 deletions
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 000000000000..3063db55b039
--- /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 63f5b009aebe..a709110c9040 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() {