summaryrefslogtreecommitdiff
path: root/user/sane/endian.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-26 04:37:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-26 04:37:46 +0000
commit205a19db89ffd440846f43eadc1d1151676ab96c (patch)
tree8dd687294a5894c680bf80199d92c7132eceeec5 /user/sane/endian.patch
parent2084cfb0db26130d7d6ffb82ecdfe6db8703ff1a (diff)
downloadpackages-205a19db89ffd440846f43eadc1d1151676ab96c.tar.gz
packages-205a19db89ffd440846f43eadc1d1151676ab96c.tar.bz2
packages-205a19db89ffd440846f43eadc1d1151676ab96c.tar.xz
packages-205a19db89ffd440846f43eadc1d1151676ab96c.zip
user/sane: Bump to 1.0.29
Diffstat (limited to 'user/sane/endian.patch')
-rw-r--r--user/sane/endian.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/sane/endian.patch b/user/sane/endian.patch
new file mode 100644
index 000000000..f55f01ecc
--- /dev/null
+++ b/user/sane/endian.patch
@@ -0,0 +1,26 @@
+From e1934720c687ed8c6125c75ac658f55b4e1513ce Mon Sep 17 00:00:00 2001
+From: Luiz Angelo Daros de Luca <luizluca@gmail.com>
+Date: Sun, 2 Feb 2020 21:19:15 -0300
+Subject: [PATCH] genesys: fix bigendian build
+
+Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
+---
+ backend/genesys/low.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/backend/genesys/low.cpp b/backend/genesys/low.cpp
+index 1e1b632bf..cbb43b045 100644
+--- a/backend/genesys/low.cpp
++++ b/backend/genesys/low.cpp
+@@ -546,7 +546,7 @@ Image read_unshuffled_image_from_scanner(Genesys_Device* dev, const ScanSession&
+ }
+
+ #ifdef WORDS_BIGENDIAN
+- if (depth == 16) {
++ if (session.params.depth == 16) {
+ dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
+ }
+ #endif
+--
+2.24.1
+