diff options
author | Pacho Ramos <pacho@gentoo.org> | 2022-01-29 09:42:23 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2022-01-29 09:42:23 +0100 |
commit | 2d6b57e2a291f675341c026a67e452db1ea15227 (patch) | |
tree | 6f29b53aad6b4530f5fd855e610936863492637d /media-gfx/sane-backends/files | |
parent | app-editors/jedit: removed obsolete 5.4.0-r1 (diff) | |
download | gentoo-2d6b57e2a291f675341c026a67e452db1ea15227.tar.gz gentoo-2d6b57e2a291f675341c026a67e452db1ea15227.tar.bz2 gentoo-2d6b57e2a291f675341c026a67e452db1ea15227.zip |
media-gfx/sane-backends: Fix crash in genesys driver
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-gfx/sane-backends/files')
-rw-r--r-- | media-gfx/sane-backends/files/sane-backends-1.1.1-genesys-gl845-crash.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/files/sane-backends-1.1.1-genesys-gl845-crash.patch b/media-gfx/sane-backends/files/sane-backends-1.1.1-genesys-gl845-crash.patch new file mode 100644 index 000000000000..f63a8e2100b9 --- /dev/null +++ b/media-gfx/sane-backends/files/sane-backends-1.1.1-genesys-gl845-crash.patch @@ -0,0 +1,12 @@ +diff --git a/backend/genesys/genesys.cpp b/backend/genesys/genesys.cpp +index 9552fa9..c95de7b 100644 +--- a/backend/genesys/genesys.cpp ++++ b/backend/genesys/genesys.cpp +@@ -367,6 +367,7 @@ void sanei_genesys_create_default_gamma_table(Genesys_Device* dev, + } + max = size - 1; + } else if (dev->model->asic_type == AsicType::GL124 || ++ dev->model->asic_type == AsicType::GL845 || + dev->model->asic_type == AsicType::GL846 || + dev->model->asic_type == AsicType::GL847) { + size = 257; |