diff --git a/recipes/net/curl.yaml b/recipes/net/curl.yaml index fce3baeb..06d0b683 100644 --- a/recipes/net/curl.yaml +++ b/recipes/net/curl.yaml @@ -1,4 +1,4 @@ -inherit: [autotools] +inherit: [autotools, patch] metaEnvironment: PKG_VERSION: "8.7.1" @@ -19,6 +19,7 @@ checkoutSCM: # ./configure will delete curlbuild.h checkoutDeterministic: True checkoutScript: | + patchApplySeries $<@curl/*.patch@> if [[ -f include/curl/curlbuild.h ]] ; then rm -f include/curl/curlbuild.h fi diff --git a/recipes/net/curl/0001-enable-l4re.patch b/recipes/net/curl/0001-enable-l4re.patch new file mode 100644 index 00000000..4f1feea6 --- /dev/null +++ b/recipes/net/curl/0001-enable-l4re.patch @@ -0,0 +1,11 @@ +--- a/configure 2025-03-05 21:34:40.342498261 +0100 ++++ b/configure 2025-03-05 21:29:58.364828504 +0100 +@@ -15776,7 +15776,7 @@ + ;; + + # This must be glibc/ELF. +-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) ++linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | l4re*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no