summaryrefslogtreecommitdiffstats
path: root/toolchain/fortify-headers
diff options
context:
space:
mode:
authorYanase Yuki <dev@zpc.st>2024-09-12 21:09:21 +0900
committerRobert Marko <robimarko@gmail.com>2024-09-14 13:55:15 +0200
commitee64e7f202821cc5b8583d34f63df174a3057b99 (patch)
tree03b63e391faf743befe8191b822600b0b4e807c8 /toolchain/fortify-headers
parenta40c26ea4b1358d059d209e62527adae82c143b9 (diff)
downloadopenwrt-ee64e7f202821cc5b8583d34f63df174a3057b99.tar.gz
openwrt-ee64e7f202821cc5b8583d34f63df174a3057b99.tar.bz2
openwrt-ee64e7f202821cc5b8583d34f63df174a3057b99.zip
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>
Diffstat (limited to 'toolchain/fortify-headers')
-rw-r--r--toolchain/fortify-headers/Makefile8
-rw-r--r--toolchain/fortify-headers/patches/002-strings.h-add-__extension__-mark.patch5
2 files changed, 5 insertions, 8 deletions
diff --git a/toolchain/fortify-headers/Makefile b/toolchain/fortify-headers/Makefile
index 3362fb427a..7e6bad51a5 100644
--- a/toolchain/fortify-headers/Makefile
+++ b/toolchain/fortify-headers/Makefile
@@ -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
diff --git a/toolchain/fortify-headers/patches/002-strings.h-add-__extension__-mark.patch b/toolchain/fortify-headers/patches/002-strings.h-add-__extension__-mark.patch
index 001e578e60..a07bb15aa1 100644
--- a/toolchain/fortify-headers/patches/002-strings.h-add-__extension__-mark.patch
+++ b/toolchain/fortify-headers/patches/002-strings.h-add-__extension__-mark.patch
@@ -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
-