diff options
author | Fabio Riga <rifabio@dpersonam.me> | 2015-02-27 17:27:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-16 12:04:41 +0000 |
commit | a2225b51a19076ad46c069573c500742d771556f (patch) | |
tree | 6eefec3be86cf0863f856232915d361bcd464732 /testing/sane/30-musl-header-fixes.patch | |
parent | 0c857465fd1158fd67381b697b4d4a046737bf1d (diff) | |
download | aports-a2225b51a19076ad46c069573c500742d771556f.tar.bz2 aports-a2225b51a19076ad46c069573c500742d771556f.tar.xz |
testing/sane: new port
http://www.sane-project.org
Scanner Access Now Easy
Diffstat (limited to 'testing/sane/30-musl-header-fixes.patch')
-rw-r--r-- | testing/sane/30-musl-header-fixes.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/sane/30-musl-header-fixes.patch b/testing/sane/30-musl-header-fixes.patch new file mode 100644 index 0000000000..6e10361043 --- /dev/null +++ b/testing/sane/30-musl-header-fixes.patch @@ -0,0 +1,51 @@ +--- ./include/sane/sanei_udp.h.orig ++++ ./include/sane/sanei_udp.h +@@ -19,6 +19,7 @@ + #define sanei_udp_h + + #include <sane/sane.h> ++#include <sys/types.h> + + #ifdef HAVE_WINSOCK2_H + #include <winsock2.h> +--- ./backend/hp5400_sanei.c.orig ++++ ./backend/hp5400_sanei.c +@@ -57,6 +57,7 @@ + #include "hp5400_debug.h" + #include <stdio.h> + #include "../include/sane/sanei_usb.h" ++#include <sys/types.h> + + #define CMD_INITBULK1 0x0087 /* send 0x14 */ + #define CMD_INITBULK2 0x0083 /* send 0x24 */ +--- ./backend/hp5590_low.c.orig ++++ ./backend/hp5590_low.c +@@ -50,6 +50,7 @@ + #ifdef HAVE_NETINET_IN_H + # include <netinet/in.h> + #endif /* HAVE_NETINET_IN_H */ ++#include <sys/types.h> + + #include "byteorder.h" + +--- ./backend/kvs20xx_cmd.h.orig ++++ ./backend/kvs20xx_cmd.h +@@ -9,6 +9,8 @@ + Panasonic KV-S20xx USB-SCSI scanners. + */ + ++#include <sys/types.h> ++ + #define COMMAND_BLOCK 1 + #define DATA_BLOCK 2 + #define RESPONSE_BLOCK 3 +--- ./backend/kvs40xx.h.orig ++++ ./backend/kvs40xx.h +@@ -10,6 +10,7 @@ + + #include "../include/sane/config.h" + #include <semaphore.h> ++#include <sys/types.h> + + #undef BACKEND_NAME + #define BACKEND_NAME kvs40xx |