Sorry, forgot the patches in first SR - Update to 0.23.93: * Set a better dpi resolution when parsing PDF files * Fix memory recycle bug of empty symbols * Fix compilation with python 3.11 and 3.12 * CVE-2023-40889: Fix array out-of-bounds access * Stop ignoring non-binary entries that follow binary ones * Increase allocated buffer memory for symbols * barcodetest.py: fix error code print logic * convert: Crash fixing while using camera * Add some pod information for additional functions * perl skip more tests if DISPLAY not set and set prereqs in Makefile.PL * Fixes rt.cpan.org 122061 - test fails when DISPLAY not set * Update Barcode::ZBar * isaac: ensure proper order of parsing expression * Enforce x11 backend even on wayland * zbarimg: add the --polygon option * xml output: Add polygon containing code bar. * configure.ac: drop support for Qt4 and prepare for Qt6 support * win: fix compiling error in Visual studio * Enforce a coding style * configure.ac: fix some issues with gtk parameter * zbargtk: fix version check macros * zbar: Address some header issues * zbar, test: fix compilation issues with FreeBSD * zbar: Function stdcall declaration issue. * symbol: make it compatible with MSC * zbar: change the code to make it c90 standard compatible * test: fix decode test - Drop upstreamed patches: * zbar-CVE-2023-40889.patch OBS-URL: https://build.opensuse.org/request/show/1140617 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/zbar?expand=0&rev=59
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From a549566ea11eb03622bd4458a1728ffe3f589163 Mon Sep 17 00:00:00 2001
|
|
From: Boyuan Yang <byang@debian.org>
|
|
Date: Wed, 10 Jan 2024 10:57:29 -0500
|
|
Subject: [PATCH] configure.ac: Use old way to detect Qt5
|
|
|
|
Bug: https://github.com/mchehab/zbar/issues/277
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
|
---
|
|
configure.ac | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index a2251e3d..0e5641e5 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -675,8 +675,8 @@ AS_IF([test "x$with_qt" != "xno"],
|
|
AS_IF([test "x$with_qt6" = "xno"],
|
|
[PKG_CHECK_MODULES([QT],
|
|
[Qt5Core >= 5 Qt5Gui >= 5 Qt5Widgets >= 5.0 Qt5X11Extras >= 5.0],
|
|
- [MOC=`$PKG_CONFIG Qt5 --variable=moc`
|
|
- QT_VERSION=`$PKG_CONFIG Qt5 --modversion`
|
|
+ [AC_CHECK_PROGS([MOC], [moc-qt5 moc])
|
|
+ QT_VERSION=`$PKG_CONFIG Qt5Gui --modversion`;
|
|
qt_pkgconfig_file="zbar-qt5.pc"
|
|
],
|
|
[with_qt="no"])])
|