Sure, I used `dpkg-buildpackage -b``` to build it.
The change was just to remove the offending condition as was suggested:
diff -ur sane-backends-1.0.29.orig/backend/genesys/low.cpp sane-backends-1.0.29/backend/genesys/low.cpp --- sane-backends-1.0.29.orig/backend/genesys/low.cpp 2021-02-16 17:18:42.000000000 -0500 +++ sane-backends-1.0.29/backend/genesys/low.cpp 2021-02-16 11:10:24.655216925 -0500 @@ -650,12 +650,6 @@ if ((session.params.flags & ScanFlag::DISABLE_GAMMA) != ScanFlag::NONE) { return false; } - if (sensor.gamma[0] == 1.0f || sensor.gamma[1] == 1.0f || sensor.gamma[2] == 1.0f) { - return false; - } - if (session.params.depth == 16) - return false; - return true; }
Sure, I used `dpkg-buildpackage -b``` to build it.
The change was just to remove the offending condition as was suggested:
diff -ur sane-backends- 1.0.29. orig/backend/ genesys/ low.cpp sane-backends- 1.0.29/ backend/ genesys/ low.cpp 1.0.29. orig/backend/ genesys/ low.cpp 2021-02-16 17:18:42.000000000 -0500 1.0.29/ backend/ genesys/ low.cpp 2021-02-16 11:10:24.655216925 -0500 params. flags & ScanFlag: :DISABLE_ GAMMA) != ScanFlag::NONE) { params. depth == 16)
--- sane-backends-
+++ sane-backends-
@@ -650,12 +650,6 @@
if ((session.
return false;
}
- if (sensor.gamma[0] == 1.0f || sensor.gamma[1] == 1.0f || sensor.gamma[2] == 1.0f) {
- return false;
- }
- if (session.
- return false;
-
return true;
}