summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Schultz <mattsch@gmail.com>2019-03-03 00:31:26 -0600
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-04 00:59:25 +0200
commit52d56a239034a60c7839f761d8b05e08d3904684 (patch)
treea458b37f7abbaacf0e4a8648ae2686b26f6de047 /media-gfx/iscan/files
parentsys-kernel/gentoo-sources: Clean-up of 4.19.X series (diff)
downloadgentoo-52d56a239034a60c7839f761d8b05e08d3904684.tar.gz
gentoo-52d56a239034a60c7839f761d8b05e08d3904684.tar.bz2
gentoo-52d56a239034a60c7839f761d8b05e08d3904684.zip
media-gfx/iscan: fixed x86 compilation failure
Closes: https://bugs.gentoo.org/678046 Reported-by: Thomas Deutschmann <whissi@gentoo.org> Signed-off-by: Matthew Schultz <mattsch@gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11226 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/iscan/files')
-rw-r--r--media-gfx/iscan/files/iscan-2.30.3.1-fix-x86-unknown-types.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-gfx/iscan/files/iscan-2.30.3.1-fix-x86-unknown-types.patch b/media-gfx/iscan/files/iscan-2.30.3.1-fix-x86-unknown-types.patch
new file mode 100644
index 000000000000..265cdc7753a4
--- /dev/null
+++ b/media-gfx/iscan/files/iscan-2.30.3.1-fix-x86-unknown-types.patch
@@ -0,0 +1,11 @@
+diff -ru a/sanei/sanei_pio.c b/sanei/sanei_pio.c
+--- a/sanei/sanei_pio.c 2019-03-01 10:44:36.723260142 -0600
++++ b/sanei/sanei_pio.c 2019-03-01 10:48:47.660693036 -0600
+@@ -73,6 +73,7 @@
+ #elif HAVE_SYS_HW_H
+ # include <sys/hw.h>
+ #elif defined(__i386__) && defined (__GNUC__)
++#include <sys/types.h>
+
+ static __inline__ void
+ outb (u_char value, u_long port)