diff options
| author | Hauke Mehrtens | 2025-10-28 20:57:06 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-10-28 20:59:42 +0000 |
| commit | fbe2ad6c60709aa5379e227d10a6f3e0e711c84b (patch) | |
| tree | 97d5ad179b874e583d24bc518c431ce18a2a691d | |
| parent | ab221cfcd93ac825c935ff020ee6d883b98e83a8 (diff) | |
| download | openwrt-fbe2ad6c60709aa5379e227d10a6f3e0e711c84b.tar.gz | |
Revert "toolchain: fortify-headers: Update to version 2.3.3"
This reverts commit 6268692bd2bf25a5105c074648f7c899624ecfd7.
The new fortify-headers version needs some more work to be usable in
OpenWrt. Revert this to fix the builds again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 files changed, 17 insertions, 6 deletions
diff --git a/toolchain/fortify-headers/Makefile b/toolchain/fortify-headers/Makefile index d405e9e332..7e6bad51a5 100644 --- a/toolchain/fortify-headers/Makefile +++ b/toolchain/fortify-headers/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/target.mk PKG_NAME:=fortify-headers -PKG_VERSION:=2.3.3 -PKG_RELEASE=1 +PKG_VERSION:=1.1 +PKG_RELEASE=3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/jvoisin/$(PKG_NAME).git -PKG_SOURCE_DATE:=2024-10-21 -PKG_SOURCE_VERSION:=dcdd2f1fb065b6e98d87ab7b367e8fb483f9b59c -PKG_MIRROR_HASH:=088a7fda614daf4e42110dbb2a288f0a5f3b25ee41ed92a988e7b3c15c76230b +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/001-__ppoll_time64.patch b/toolchain/fortify-headers/patches/001-__ppoll_time64.patch new file mode 100644 index 0000000000..05f8c71714 --- /dev/null +++ b/toolchain/fortify-headers/patches/001-__ppoll_time64.patch @@ -0,0 +1,11 @@ +--- a/include/poll.h ++++ b/include/poll.h +@@ -39,7 +39,7 @@ _FORTIFY_FN(poll) int poll(struct pollfd + return __orig_poll(__f, __n, __s); + } + +-#ifdef _GNU_SOURCE ++#if defined(_GNU_SOURCE) && !(defined(_REDIR_TIME64) && _REDIR_TIME64) + #undef ppoll + _FORTIFY_FN(ppoll) int ppoll(struct pollfd *__f, nfds_t __n, const struct timespec *__s, + const sigset_t *__m) 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 c334493157..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 @@ -12,7 +12,7 @@ Add __extension__ before #include-next in strings.h as was done for all other he --- a/include/strings.h +++ b/include/strings.h -@@ -17,6 +17,9 @@ +@@ -16,6 +16,9 @@ #ifndef _FORTIFY_STRINGS_H #define _FORTIFY_STRINGS_H |