Projects
Essentials
A_tw-cmake
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
cmake.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Sun Oct 5 08:04:13 UTC 2025 - Manfred Hollstein <manfred.h@gmx.net> + +- Add cmake-comply-with-curl-types.patch to cope with CURLPROXY_* + constants which are of type long int in recent versions of curl + (>= 8.16.0), while curl_proxytype remains an enum compatible with + int (-fpermissive does not allow this). + +------------------------------------------------------------------- Wed May 28 18:49:13 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com> - Replace usage of %jobs for reproducible builds (boo#1237231)
View file
cmake.spec
Changed
@@ -71,6 +71,7 @@ Patch1: feature-suse-python-interp-search-order.patch # PATCH-FIX-UPSTREAM cmake-findhdf5-prefer-hl-compilers.patch badshah400@gmail.com -- FindHDF5: Prefer h5hl* compilers for HDF5_FIND_HL; patch submitted upstream https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10450.patch Patch2: cmake-findhdf5-prefer-hl-compilers.patch +Patch3: cmake-comply-with-curl-types.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig
View file
cmake-comply-with-curl-types.patch
Added
@@ -0,0 +1,27 @@ +diff -rup a/Source/CTest/cmCTestCurl.cxx b/Source/CTest/cmCTestCurl.cxx +--- a/Source/CTest/cmCTestCurl.cxx 2025-04-10 15:13:20.000000000 +0200 ++++ b/Source/CTest/cmCTestCurl.cxx 2025-10-05 10:01:30.991768658 +0200 +@@ -264,7 +264,7 @@ void cmCTestCurl::SetProxyType() + { + this->HTTPProxy.clear(); + // this is the default +- this->HTTPProxyType = CURLPROXY_HTTP; ++ this->HTTPProxyType = (curl_proxytype) CURLPROXY_HTTP; + this->HTTPProxyAuth.clear(); + if (cmSystemTools::GetEnv("HTTP_PROXY", this->HTTPProxy)) { + std::string port; +@@ -276,11 +276,11 @@ void cmCTestCurl::SetProxyType() + if (cmSystemTools::GetEnv("HTTP_PROXY_TYPE", type)) { + // HTTP/SOCKS4/SOCKS5 + if (type == "HTTP") { +- this->HTTPProxyType = CURLPROXY_HTTP; ++ this->HTTPProxyType = (curl_proxytype) CURLPROXY_HTTP; + } else if (type == "SOCKS4") { +- this->HTTPProxyType = CURLPROXY_SOCKS4; ++ this->HTTPProxyType = (curl_proxytype) CURLPROXY_SOCKS4; + } else if (type == "SOCKS5") { +- this->HTTPProxyType = CURLPROXY_SOCKS5; ++ this->HTTPProxyType = (curl_proxytype) CURLPROXY_SOCKS5; + } + } + cmSystemTools::GetEnv("HTTP_PROXY_USER", this->HTTPProxyAuth);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.