diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:57:35 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:57:35 +0000 |
commit | 9ff4174f91184dbd5ad42ebe21d0e150d888c290 (patch) | |
tree | 165b5cd8d551e6bab38d7b1c0137d80c207a10d3 /0001-fix-detecting-qrcodegen.patch | |
parent | 28930047a5d7ce8bffe52612a6e507c6f806f080 (diff) |
automatic import of libreofficeopeneuler24.03_LTS
Diffstat (limited to '0001-fix-detecting-qrcodegen.patch')
-rw-r--r-- | 0001-fix-detecting-qrcodegen.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/0001-fix-detecting-qrcodegen.patch b/0001-fix-detecting-qrcodegen.patch new file mode 100644 index 0000000..f439510 --- /dev/null +++ b/0001-fix-detecting-qrcodegen.patch @@ -0,0 +1,40 @@ +From 2f11e4247b6332b06a5b23c33207fa10767244a6 Mon Sep 17 00:00:00 2001 +From: Thierry Vignaud <thierry.vignaud@gmail.com> +Date: Thu, 30 Jan 2020 11:19:20 +0000 +Subject: [PATCH] fix detecting qrcodegen + +Change-Id: Ib945b57420083489273cefc5655eb50932b5a3f8 +--- + configure.ac | 2 +- + cui/source/dialogs/QrCodeGenDialog.cxx | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 5a14369..ebd1b55 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -10250,7 +10250,7 @@ else + AC_MSG_RESULT([external]) + SYSTEM_QRCODEGEN=TRUE + AC_LANG_PUSH([C++]) +- AC_CHECK_HEADER(qrcodegen/QrCode.hpp, [], ++ AC_CHECK_HEADER(qrcodegencpp/QrCode.hpp, [], + [AC_MSG_ERROR(qrcodegen headers not found.)], [#include <stdexcept>]) + AC_CHECK_LIB([qrcodegencpp], [main], [:], + [ AC_MSG_ERROR(qrcodegen C++ library not found.) ], []) +diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx +index 7f3f6a8..b79a356 100644 +--- a/cui/source/dialogs/QrCodeGenDialog.cxx ++++ b/cui/source/dialogs/QrCodeGenDialog.cxx +@@ -19,7 +19,7 @@ + + #if ENABLE_QRCODEGEN + #if defined(SYSTEM_QRCODEGEN) +-#include <qrcodegen/QrCode.hpp> ++#include <qrcodegencpp/QrCode.hpp> + #else + #include <QrCode.hpp> + #endif +-- +2.26.2 + |