- New patch to fix ImageMagick_ARCH_INCLUDE_DIR (Closes: #1087233) - New patch to recognize musl-linux-any multiarch dirs (Closes: #1085507) Gbp-Dch: fullci/unstable
parent
6d77f15746
commit
d314b44018
@ -0,0 +1,25 @@
|
||||
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
|
||||
Date: Mon, 11 Nov 2024 15:24:01 +0100
|
||||
Subject: Fix ImageMagick_*_ARCH_INCLUDE_DIR detection
|
||||
|
||||
Bug-Debian: https://bugs.debian.org/1087233
|
||||
Forwarded: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9990
|
||||
---
|
||||
Modules/FindImageMagick.cmake | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Modules/FindImageMagick.cmake b/Modules/FindImageMagick.cmake
|
||||
index 66e65ad..809fec7 100644
|
||||
--- a/Modules/FindImageMagick.cmake
|
||||
+++ b/Modules/FindImageMagick.cmake
|
||||
@@ -133,7 +133,9 @@ function(FIND_IMAGEMAGICK_API component header)
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
find_path(ImageMagick_${component}_ARCH_INCLUDE_DIR
|
||||
- NAMES magick/magick-baseconfig.h
|
||||
+ NAMES
|
||||
+ magick/magick-baseconfig.h
|
||||
+ MagickCore/magick-baseconfig.h
|
||||
HINTS
|
||||
${PC_${component}_INCLUDEDIR}
|
||||
${PC_${component}_INCLUDE_DIRS}
|
@ -0,0 +1,20 @@
|
||||
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
|
||||
Date: Mon, 11 Nov 2024 15:26:05 +0100
|
||||
Subject: Recognize Multi-Arch libdir for musl-linux-any
|
||||
|
||||
Bug-Debian: https://bugs.debian.org/1085507
|
||||
Forwarded: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9991
|
||||
---
|
||||
Modules/Platform/Linux-Initialize.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Modules/Platform/Linux-Initialize.cmake b/Modules/Platform/Linux-Initialize.cmake
|
||||
index 7166b20..e1e5d7e 100644
|
||||
--- a/Modules/Platform/Linux-Initialize.cmake
|
||||
+++ b/Modules/Platform/Linux-Initialize.cmake
|
||||
@@ -2,4 +2,4 @@ set(LINUX 1)
|
||||
set(UNIX 1)
|
||||
|
||||
# Match multiarch library directory names.
|
||||
-set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*")
|
||||
+set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-linux-[a-z0-9_]*")
|
@ -1 +1,3 @@
|
||||
0001-Prefer-default-Python-version.patch
|
||||
0002-Fix-ImageMagick_-_ARCH_INCLUDE_DIR-detection.patch
|
||||
0003-Recognize-Multi-Arch-libdir-for-musl-linux-any.patch
|
||||
|
Loading…
Reference in new issue