From edaebb65d92a48d7075c8c1f64c5ffd87054827b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:07:31 +0200 Subject: Adding debian version 4:7.4.7-1+deb12u1. Signed-off-by: Daniel Baumann --- ...dependency-on-BitArray.h-from-zxing-1.2.0.patch | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch (limited to 'debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch') diff --git a/debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch b/debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch new file mode 100644 index 000000000..13e388946 --- /dev/null +++ b/debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch @@ -0,0 +1,50 @@ +From a06c0eabc164cd2233cad4e159cff005951a5d06 Mon Sep 17 00:00:00 2001 +From: "Brett T. Warden" +Date: Fri, 2 Dec 2022 12:06:35 -0800 +Subject: [PATCH] Remove dependency on BitArray.h from zxing-1.2.0 + +In zxing-1.4.0, numerous headers are no longer public. Rework the +ConvertToSVGFormat method so it uses bitmatrix.get instead of +bitmatrix.getRow, similar to the ToSVG method in zxing itself. + +See https://github.com/zxing-cpp/zxing-cpp/issues/361 + +--- + cui/source/dialogs/QrCodeGenDialog.cxx | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx +index 3e7b48e7af86..c334785d2bea 100644 +--- a/cui/source/dialogs/QrCodeGenDialog.cxx ++++ b/cui/source/dialogs/QrCodeGenDialog.cxx +@@ -27,7 +27,6 @@ + #endif + + #include +-#include + #include + #include + #include +@@ -79,7 +78,6 @@ OString ConvertToSVGFormat(const ZXing::BitMatrix& bitmatrix) + OStringBuffer sb; + const int width = bitmatrix.width(); + const int height = bitmatrix.height(); +- ZXing::BitArray row(width); + sb.append("\n" + "