summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/0160-big_endian.patch13
-rw-r--r--debian/patches/series1
3 files changed, 16 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 2655a74..e30b687 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ sane-backends (1.0.29-1~experimental2) UNRELEASED; urgency=medium
- Remove 4 tests failed tests on i386.
* New patches/0155-hurd_PATH_MAX.patch:
- Fix missing PATH_MAX on hurd-i386.
+ New patches/0160-big_endian.patch:
+ - Fix FTBFS on big endian systems.
-- Jörg Frings-Fürst <debian@jff.email> Mon, 30 Mar 2020 21:32:22 +0200
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
diff --git a/debian/patches/series b/debian/patches/series
index fec477b..75a0ddc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
0725-fix_link_60-libsane_rule.patch
0150-i386-test.patch
0155-hurd_PATH_MAX.patch
+0160-big_endian.patch