diff --git a/genesys-slope-assert.patch b/genesys-slope-assert.patch new file mode 100644 index 0000000..7e24b48 --- /dev/null +++ b/genesys-slope-assert.patch @@ -0,0 +1,13 @@ +diff --git a/backend/genesys/gl841.cpp b/backend/genesys/gl841.cpp +index 470f9ba..c11a434 100644 +--- a/backend/genesys/gl841.cpp ++++ b/backend/genesys/gl841.cpp +@@ -944,7 +944,7 @@ HOME_FREE: 3 + r->value |= REG_0x02_MTRREV; + } + +- gl841_send_slope_table(dev, 3, fast_table.table, 256); ++ gl841_send_slope_table(dev, 3, fast_table.table, 255); + + r = sanei_genesys_get_address(reg, 0x67); + r->value = 0x3f; diff --git a/sane-backends.spec b/sane-backends.spec index 7f760ae..82936c9 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -14,7 +14,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.29 -Release: 4%{?dist} +Release: 5%{?dist} # lib/ is LGPLv2+, backends are GPLv2+ with exceptions # Tools are GPLv2+, docs are public domain # see LICENSE for details @@ -39,6 +39,7 @@ Patch3: sane-backends-saned-manpage.patch # undeclared variable on s390x, from upstream # https://gitlab.com/sane-project/backends/-/merge_requests/329 Patch4: sane-genesys-s390x-ftbfs.patch +Patch5: genesys-slope-assert.patch URL: http://www.sane-project.org @@ -155,6 +156,7 @@ access image acquisition devices available on the local host. %patch2 -p1 -b .sane-config-multilib %patch3 -p1 -b .saned-manpage %patch4 -p1 -b .genesys-s390x-ftbfs +%patch5 -p1 -b .genesys-slope-assert %build CFLAGS="%optflags -fno-strict-aliasing" @@ -422,6 +424,9 @@ exit 0 %{_unitdir}/saned@.service %changelog +* Mon Mar 23 2020 Zdenek Dohnal - 1.0.29-5 +- 1807751 - [abrt] sane-backends: std::__replacement_assert(): scanimage killed by SIGABRT + * Mon Feb 10 2020 Zdenek Dohnal - 1.0.29-4 - really fix it...