Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion recipes/net/curl.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit: [autotools]
inherit: [autotools, patch]

metaEnvironment:
PKG_VERSION: "8.7.1"
Expand All @@ -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
Expand Down
11 changes: 11 additions & 0 deletions recipes/net/curl/0001-enable-l4re.patch
Original file line number Diff line number Diff line change
@@ -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