Skip to content

Commit

Permalink
toolchain/fortify-headers: update download url
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: openwrt/openwrt#16374
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
zpc0 authored and robimarko committed Sep 14, 2024
1 parent a40c26e commit ee64e7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 5 additions & 3 deletions toolchain/fortify-headers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 @@
Expand All @@ -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

0 comments on commit ee64e7f

Please sign in to comment.