* [gentoo-commits] repo/gentoo:master commit in: media-libs/zxing-cpp/files/
@ 2023-10-04 21:45 Conrad Kostecki
0 siblings, 0 replies; only message in thread
From: Conrad Kostecki @ 2023-10-04 21:45 UTC (permalink / raw
To: gentoo-commits
commit: 7e35a11c8721a89f919fd82de007e2978c52907a
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Oct 4 15:48:46 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Oct 4 21:43:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e35a11c
media-libs/zxing-cpp: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/33186
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../files/zxing-cpp-2.0.0-fix-crash.patch | 24 ----------------------
1 file changed, 24 deletions(-)
diff --git a/media-libs/zxing-cpp/files/zxing-cpp-2.0.0-fix-crash.patch b/media-libs/zxing-cpp/files/zxing-cpp-2.0.0-fix-crash.patch
deleted file mode 100644
index e6b25633e8e9..000000000000
--- a/media-libs/zxing-cpp/files/zxing-cpp-2.0.0-fix-crash.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 23c19c5f98602a4d69d1667fff99678308b28b5b Mon Sep 17 00:00:00 2001
-From: liule <levie.liu@gmail.com>
-Date: Fri, 6 Jan 2023 22:06:24 +0800
-Subject: [PATCH] fix crash when the source image is less than 3 pixels
- width/height
-
----
- core/src/ReadBarcode.cpp | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/core/src/ReadBarcode.cpp b/core/src/ReadBarcode.cpp
-index 905dd191c..5ac61e250 100644
---- a/core/src/ReadBarcode.cpp
-+++ b/core/src/ReadBarcode.cpp
-@@ -76,7 +76,8 @@ class LumImagePyramid
-
- layers.push_back(iv);
- // TODO: if only matrix codes were considered, then using std::min would be sufficient (see #425)
-- while (threshold > 0 && std::max(layers.back().width(), layers.back().height()) > threshold)
-+ while (threshold > 0 && std::max(layers.back().width(), layers.back().height()) > threshold &&
-+ std::min(layers.back().width(), layers.back().height()) >= N)
- addLayer();
- #if 0
- // Reversing the layers means we'd start with the smallest. that can make sense if we are only looking for a
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-04 21:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04 21:45 [gentoo-commits] repo/gentoo:master commit in: media-libs/zxing-cpp/files/ Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox