aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-03-22 09:13:27 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-03-22 09:13:27 +0000
commit2f976830b245def13610faf6fe0aee6de6ffae20 (patch)
tree1f03b4f1cd3e373a63edf032059898683ea883d0 /graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c
parent12df99274b885e387606f71cd7778e3675f237bd (diff)
Upgrade to 1.0.4,
sane split to 2 ports now, sane-backends and sane-frontends. PR: ports/24931 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c')
-rw-r--r--graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c b/graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c
new file mode 100644
index 000000000000..3c56a56b1a42
--- /dev/null
+++ b/graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c
@@ -0,0 +1,15 @@
+--- sanei/sanei_pa4s2.c.orig Sun Oct 8 22:58:42 2000
++++ sanei/sanei_pa4s2.c Wed Feb 7 00:28:27 2001
+@@ -89,6 +89,12 @@
+ #define IO_SUPPORT_MISSING
+ #endif
+
++#if defined(__FreeBSD__) && defined(__i386__)
++#define HAVE_IOPERM
++#define ioperm i386_set_ioperm
++#include <machine/sysarch.h>
++#endif
++
+ #include "sane/sane.h"
+ #include "sane/sanei.h"
+ #include "sane/sanei_pa4s2.h"