freebsd-ports/graphics/sane-backends/files/patch-sanei_sanei_pa4s2.c
Vanilla I. Shu 2f976830b2 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>
2001-03-22 09:13:27 +00:00

15 lines
380 B
C

--- 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"