summaryrefslogtreecommitdiff
path: root/debian/patches/0160-big_endian.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 23:03:34 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 23:03:34 +0200
commit0814708701b2729c16febba4e29d84bbda735cff (patch)
tree7e3e8a2cd3d1e3146e3f2beae31128aeb09ac2be /debian/patches/0160-big_endian.patch
parentdc581898ce300be2b16f33ebbed4b9f583c69250 (diff)
Fix FTBFS on big endian systems
Diffstat (limited to 'debian/patches/0160-big_endian.patch')
-rw-r--r--debian/patches/0160-big_endian.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/0160-big_endian.patch b/debian/patches/0160-big_endian.patch
new file mode 100644
index 0000000..5c8a2ff
--- /dev/null
+++ b/debian/patches/0160-big_endian.patch
@@ -0,0 +1,13 @@
+Index: trunk/backend/genesys/low.cpp
+===================================================================
+--- trunk.orig/backend/genesys/low.cpp
++++ trunk/backend/genesys/low.cpp
+@@ -539,7 +539,7 @@ Image read_unshuffled_image_from_scanner
+ }
+
+ #ifdef WORDS_BIGENDIAN
+- if (depth == 16) {
++ if (session.params.depth == 16) {
+ dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
+ }
+ #endif