]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/curl
curl: Fix build on armv6l
[people/pmueller/ipfire-2.x.git] / lfs / curl
index 636bdd53500ca194ed295b5c0732374a99bbbe3b..fc8057e0bebfa722cc673d407b06a3d775f39bd3 100644 (file)
--- a/lfs/curl
+++ b/lfs/curl
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -70,6 +70,10 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE)
+
+       # Incorporate upstream patch to fix build on armv6l
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/curl-7.84.0-easy_lock_h_include_sched_h_if_available_to_fix_build.patch
+
        cd $(DIR_APP) && ./configure \
                --prefix=/usr \
                --disable-ipv6 \