toolchain/fortify-headers: update download url
authorYanase Yuki <dev@zpc.st>
Thu, 12 Sep 2024 12:09:21 +0000 (21:09 +0900)
committerRobert Marko <robimarko@gmail.com>
Sat, 14 Sep 2024 11:55:15 +0000 (13:55 +0200)
Development of fortify-headers has been moved to GitHub.
Gentoo [1] and Alpine Linux [2] already uses it.

Since updating fortify-headers to new version causes a lot of
compile errors, this commit does not bump version.

This commit also refresh patch.

[1]: https://packages.gentoo.org/packages/sys-libs/fortify-headers
[2]: https://git.alpinelinux.org/aports/log/main/fortify-headers

Signed-off-by: Yanase Yuki <dev@zpc.st>
Link: https://github.com/openwrt/openwrt/pull/16374
Signed-off-by: Robert Marko <robimarko@gmail.com>
toolchain/fortify-headers/Makefile
toolchain/fortify-headers/patches/002-strings.h-add-__extension__-mark.patch

index 3362fb427ad4134aef8e83e3fc9d3e2099a46b01..7e6bad51a5a263d29ee1ce33b661af47cbdabbd8 100644 (file)
@@ -11,9 +11,11 @@ PKG_NAME:=fortify-headers
 PKG_VERSION:=1.1
 PKG_RELEASE=3
 
-PKG_SOURCE_URL:=https://dl.2f30.org/releases
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_HASH:=6ba5d860a2d2ba4c3346924b93930c34856eafe148bdbdf271ecab8065201fb6
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/jvoisin/$(PKG_NAME).git
+PKG_SOURCE_DATE:=2019-04-14
+PKG_SOURCE_VERSION:=e3fee64643279c144efd3d6856ed4e818c0d5ca2
+PKG_MIRROR_HASH:=f2ce18b031aecbf43d18142941ece7c90691a8b4e96fbb1d5af94f24e5572dad
 
 include $(INCLUDE_DIR)/toolchain-build.mk
 
index 001e578e60d783173bab6498da879717da6f4599..a07bb15aa1dba0fd9541049d4ca13067abb956a9 100644 (file)
@@ -10,8 +10,6 @@ Add __extension__ before #include-next in strings.h as was done for all other he
  include/strings.h | 3 +++
  1 file changed, 3 insertions(+)
 
-diff --git a/include/strings.h b/include/strings.h
-index a16e1ad..d1902db 100644
 --- a/include/strings.h
 +++ b/include/strings.h
 @@ -16,6 +16,9 @@
@@ -24,6 +22,3 @@ index a16e1ad..d1902db 100644
  #include_next <strings.h>
  
  #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
--- 
-2.34.1
-