diff options
Diffstat (limited to 'media-gfx/digikam/files/digikam-8.4.0-fix-find_libheif-regex.patch')
-rw-r--r-- | media-gfx/digikam/files/digikam-8.4.0-fix-find_libheif-regex.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-gfx/digikam/files/digikam-8.4.0-fix-find_libheif-regex.patch b/media-gfx/digikam/files/digikam-8.4.0-fix-find_libheif-regex.patch new file mode 100644 index 000000000000..cd18ea3ed475 --- /dev/null +++ b/media-gfx/digikam/files/digikam-8.4.0-fix-find_libheif-regex.patch @@ -0,0 +1,25 @@ +From a3ff8ad14c1373f7a7d3c1c9aee4e80954e1859e Mon Sep 17 00:00:00 2001 +From: Maik Qualmann <metzpinguin@gmail.com> +Date: Tue, 23 Jul 2024 12:33:13 +0200 +Subject: [PATCH] escape the input from REGEX MATCHALL CCBUGS: 490690 + +--- + core/cmake/modules/FindLibheif.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/core/cmake/modules/FindLibheif.cmake b/core/cmake/modules/FindLibheif.cmake +index fdaf73a4b9e..38876ecc38a 100644 +--- a/core/cmake/modules/FindLibheif.cmake ++++ b/core/cmake/modules/FindLibheif.cmake +@@ -54,7 +54,7 @@ else() + if(HEIF_INCLUDES_DIR) + + file(STRINGS "${HEIF_INCLUDES_DIR}/libheif/heif_version.h" TMP REGEX "^#define LIBHEIF_VERSION[ \t].*$") +- string(REGEX MATCHALL "[0-9.]+" HEIF_VERSION ${TMP}) ++ string(REGEX MATCHALL "[0-9.]+" HEIF_VERSION "${TMP}") + + endif() + +-- +GitLab + |