1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00

toolchain/fortify-headers: update download url

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>
This commit is contained in:
Yanase Yuki 2024-09-12 21:09:21 +09:00 committed by Robert Marko
parent a40c26ea4b
commit ee64e7f202
2 changed files with 5 additions and 8 deletions

@ -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

@ -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