pkgsrc/graphics/sane-backends/patches/patch-backend_xerox__mfp-tcp.c
ryoon 6277ad089d Update to 1.0.23
* Update MASTER_SITES to MASTER_SITE_LOCAL

Changelog:
New with 1.0.23, released 2012-08-19:

* New backends: kvs40xx (Panasonic KV-S40xx),
  kodakaio (Kodak AiO ESP and Hero)
* Significant enhancements to several backends.
* 30 new scanner models supported.
* V4L support improvements.
* Improvements for builds on multiple platforms.
* Improved udev rules.
* Updated software deskew algorithm.
* Documentation updates.
* Bugfixes.
2012-12-10 12:06:50 +00:00

17 lines
423 B
C

$NetBSD: patch-backend_xerox__mfp-tcp.c,v 1.2 2012/12/10 12:06:51 ryoon Exp $
Fix for pkg/45196. Add sys/socket.h header.
--- backend/xerox_mfp-tcp.c.orig 2011-11-21 20:17:48.000000000 +0000
+++ backend/xerox_mfp-tcp.c
@@ -32,6 +32,10 @@
#include <sys/socket.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
#include "sane/saneopts.h"
#include "sane/sanei_scsi.h"
#include "sane/sanei_usb.h"