aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/fortify-headers/patches
Commit message (Collapse)AuthorAgeFilesLines
* fortify-headers: add __extension__ mark to strings.hMatthias Van Parys2023-08-111-0/+29
| | | | | | | | | 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> (cherry picked from commit 2425d6df121082a8643459ac7996334779792a59)
* fortify-headers: fix build error when _REDIR_TIME64 is not definedGeorgi Valkov2023-05-131-1/+1
| | | | | | | | | | | | some targets do not define the _REDIR_TIME64 macro resulting in a build error regression since ddfe5678a448ac8875e94f2fb4ddca67416fa14a fix by checking if the macro is defined [1] https://github.com/openwrt/openwrt/issues/12587 Fixes: #12587 Fixes: ddfe5678a448 ("fortify-headers: fix inconsistent time_t version of ppoll") Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
* fortify-headers: fix inconsistent time_t version of ppollGeorgi Valkov2023-05-121-0/+11
| | | | | | | | | | | | | | 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>
* fortify-headers: update to 0.7Steven Barth2015-07-242-148/+0
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46480
* fortify-headers: fix compatibility with -pedanticSteven Barth2015-06-241-0/+122
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46122
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-231-0/+26
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46117