freebsd-ports/graphics/sane-backends/files/patch-backend__v4l.c
Guido Falsi 0319d39bfb - Update to 1.0.25 [1]
- Add option for v4l [1]
- Use more option helpers [1]
- Removed CUPS option since CUPS requirement has been dropped upstream [1]

While here:

- Convert to USES=localbase
- Regenerate some patches [1]

This version also includes support for Canon LiDE 220 scanners. [2]

PR:		203799 [1], 200788 [2]
Submitted by:	Ports Fury [1], avg@ [2]
2015-10-19 09:03:44 +00:00

13 lines
297 B
C

--- backend/v4l.c.orig 2015-09-20 11:55:39 UTC
+++ backend/v4l.c
@@ -72,7 +72,10 @@
#include "../include/sane/saneopts.h"
#include <sys/ioctl.h>
+
+#ifdef HAVE_ASM_TYPES_H
#include <asm/types.h> /* XXX glibc */
+#endif
#define BACKEND_NAME v4l
#include "../include/sane/sanei_backend.h"