From 152eafdfcfa3c74ae6c17125da27abb765af55fe Mon Sep 17 00:00:00 2001 From: mglae Date: Sun, 5 May 2024 01:49:36 +0200 Subject: [PATCH] curl: fix building debug --- .../patches/curl-01-allow_building_debug.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/web/curl/patches/curl-01-allow_building_debug.patch diff --git a/packages/web/curl/patches/curl-01-allow_building_debug.patch b/packages/web/curl/patches/curl-01-allow_building_debug.patch new file mode 100644 index 00000000000..29ad57996d5 --- /dev/null +++ b/packages/web/curl/patches/curl-01-allow_building_debug.patch @@ -0,0 +1,16 @@ + +When building debug image avoid: + +*/build/curl-8.7.1/lib/easy_lock.h:72:20: error: inlining failed in call to 'curl_simple_lock_lock': function not considered for inlining [-Werror=inline] + + +--- a/CMake/PickyWarnings.cmake.org 2024-03-25 09:48:59.000000000 +0100 ++++ b/CMake/PickyWarnings.cmake 2024-05-03 18:27:04.033468758 +0200 +@@ -60,7 +60,6 @@ if(PICKY_COMPILER) + list(APPEND WPICKY_ENABLE + -Wbad-function-cast # clang 2.7 gcc 2.95 + -Wconversion # clang 2.7 gcc 2.95 +- -Winline # clang 1.0 gcc 1.0 + -Wmissing-declarations # clang 1.0 gcc 2.7 + -Wmissing-prototypes # clang 1.0 gcc 1.0 + -Wnested-externs # clang 1.0 gcc 2.7