summaryrefslogtreecommitdiff
path: root/packages/sane-backends/sane-backends-1.0.15/sane-plustek.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-22 18:40:26 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-22 18:40:26 +0000
commit188df5d022c3a9711b14a8c7b8dc1e841f2d0db6 (patch)
tree5af3a42fdbcb08d6af30cf89ef1f6f7f51f4c687 /packages/sane-backends/sane-backends-1.0.15/sane-plustek.patch
parentd2f5b256f7e94c9113409add69a12a7121c26862 (diff)
sane-backends: update to 1.0.17
Diffstat (limited to 'packages/sane-backends/sane-backends-1.0.15/sane-plustek.patch')
-rw-r--r--packages/sane-backends/sane-backends-1.0.15/sane-plustek.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/packages/sane-backends/sane-backends-1.0.15/sane-plustek.patch b/packages/sane-backends/sane-backends-1.0.15/sane-plustek.patch
deleted file mode 100644
index f6920c6e22..0000000000
--- a/packages/sane-backends/sane-backends-1.0.15/sane-plustek.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- sane-backends-1.0.15/backend/plustek-usb.h.orig 2005-07-06 00:45:43.000000000 +0200
-+++ sane-backends-1.0.15/backend/plustek-usb.h 2005-07-06 00:47:36.000000000 +0200
-@@ -106,17 +106,20 @@
- #define _PHILO2WORD(x) ((u_short)x->bHi * 256U + x->bLo)
-
- /* useful for RGB-values */
-+#define PACKED8 __attribute__ ((packed,aligned(1)))
-+#define PACKED16 __attribute__ ((packed,aligned(2)))
-+
- typedef struct {
- u_char Red;
- u_char Green;
- u_char Blue;
--} RGBByteDef, *pRGBByteDef;
-+} PACKED8 RGBByteDef, *pRGBByteDef;
-
- typedef struct {
- u_short Red;
- u_short Green;
- u_short Blue;
--} RGBUShortDef, *pRGBUShortDef;
-+} PACKED16 RGBUShortDef, *pRGBUShortDef;
-
- typedef struct {
- u_long Red;
-@@ -126,22 +129,22 @@
-
- typedef struct {
- u_char a_bColor[3];
--} ColorByteDef, *pColorByteDef;
-+} PACKED8 ColorByteDef, *pColorByteDef;
-
- typedef struct {
- u_char bHi;
- u_char bLo;
--} HiLoDef, *pHiLoDef;
-+} PACKED8 HiLoDef, *pHiLoDef;
-
- typedef union {
- HiLoDef HiLo[3];
- u_short Colors[3];
--} ColorWordDef, *pColorWordDef;
-+} PACKED16 ColorWordDef, *pColorWordDef;
-
- typedef union {
- HiLoDef HiLo;
- u_short Mono;
--} MonoWordDef, *pMonoWordDef;
-+} PACKED16 MonoWordDef, *pMonoWordDef;
-
- typedef union {
-