Yanase Yuki
ee64e7f202
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>
2024-09-14 13:55:15 +02:00
Matthias Van Parys
2425d6df12
fortify-headers: add __extension__ mark to strings.h
...
Add the __extension__ mark before #include_next in strings.h
to avoid a compiler error when -pedantic is enabled.
This has been done for all other headers in the past.
Signed-off-by: Matthias Van Parys <matthias.vanparys@softathome.com>
2023-07-12 20:24:56 +02:00
Georgi Valkov
9145c4fbcb
fortify-headers: fix build error when _REDIR_TIME64 is not defined
...
some targets do not define the _REDIR_TIME64 macro resulting in a
build error regression since ddfe5678a4
fix by checking if the macro is defined
[1] https://github.com/openwrt/openwrt/issues/12587
Fixes : #12587
Fixes: ddfe5678a4
("fortify-headers: fix inconsistent time_t version of ppoll")
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2023-05-13 14:09:53 +02:00
Georgi Valkov
ddfe5678a4
fortify-headers: fix inconsistent time_t version of ppoll
...
Bug:
fortify/poll.h includes poll.h, which redirects ppoll to __ppoll_time64
if the _REDIR_TIME64 macro is 1. Then fortify/poll.h will #undef ppoll
and use the 32 bit version.
Fix: we should not do this when _REDIR_TIME64 is 1.
[1] https://forum.openwrt.org/t/idle-cpu-usage-of-usbmuxd/140331/15
[2] https://github.com/openwrt/openwrt/issues/12574
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2023-05-12 12:16:11 +02:00
Steven Barth
bee26ca0de
fortify-headers: update to 0.7
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46480
2015-07-24 13:51:45 +00:00
Steven Barth
9bdae8fc1e
fortify-headers: fix compatibility with -pedantic
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46122
2015-06-24 18:52:13 +00:00
Steven Barth
2738526a16
toolchain: add fortify-headers, enable FORTIFY_SOURCE by default
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46117
2015-06-23 14:38:03 +00:00