SHA256
3
0
forked from pool/cmake

- add glibc-236.patch (bsc#1202208)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=502
This commit is contained in:
Dirk Mueller 2022-08-23 15:05:45 +00:00 committed by Git OBS Bridge
parent 5997e9c000
commit 07c60c120b
3 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 23 15:05:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add glibc-236.patch (bsc#1202208)
-------------------------------------------------------------------
Thu Aug 18 09:04:40 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -64,6 +64,7 @@ Patch0: cmake-fix-ruby-test.patch
# Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice
Patch1: feature-suse-python-interp-search-order.patch
Patch2: cmake-fix-png-include-dir.patch
Patch3: glibc-236.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig

13
glibc-236.patch Normal file
View File

@ -0,0 +1,13 @@
investigated under https://gitlab.kitware.com/cmake/cmake/-/issues/23881
--- cmake-3.24.1/Modules/GetPrerequisites.cmake
+++ cmake-3.24.1/Modules/GetPrerequisites.cmake
@@ -514,7 +514,7 @@
string(TOLOWER "${resolved_file}" lower)
if(UNIX)
- if(resolved_file MATCHES "^(/lib/|/lib32/|/libx32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/libx32/|/usr/lib64/|/usr/X11R6/|/usr/bin/)")
+ if(resolved_file MATCHES "^(/lib/|/lib32/|/libx32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/libx32/|/usr/lib64/|/usr/X11R6/|/usr/bin/|linux-vdso\.so)")
set(is_system 1)
endif()
endif()