pkgsrc/graphics/sane-backends/patches/patch-ag
wiz 9efdbdf75d Fix xsane build by adding back a symbol that was, according to Debian,
accidentally removed in 1.0.20.
Bump PKGREVISION.
2009-09-04 23:09:06 +00:00

12 lines
481 B
Text

$NetBSD: patch-ag,v 1.1 2009/09/04 23:09:06 wiz Exp $
--- include/sane/sane.h.orig 2009-04-23 19:59:23.000000000 +0000
+++ include/sane/sane.h
@@ -115,6 +115,7 @@ SANE_Device;
#define SANE_CAP_AUTOMATIC (1 << 4)
#define SANE_CAP_INACTIVE (1 << 5)
#define SANE_CAP_ADVANCED (1 << 6)
+#define SANE_CAP_ALWAYS_SETTABLE (1 << 7)
#define SANE_OPTION_IS_ACTIVE(cap) (((cap) & SANE_CAP_INACTIVE) == 0)
#define SANE_OPTION_IS_SETTABLE(cap) (((cap) & SANE_CAP_SOFT_SELECT) != 0)