openwrt/tools
Robert Marko 4a6911fe79 tools/sed: fix compilation on macOS 14
Current sed 4.8 in 22.03 will fail to compile when using macOS 14 with:
depbase=`echo lib/obstack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I.  -I. -I./lib -I./lib -I./sed -I/Volumes/OpenWrt/openwrt/staging_dir/host/include   -O2 -I/Volumes/OpenWrt/openwrt/staging_dir/host/include  -MT lib/obstack.o -MD -MP -MF $depbase.Tpo -c -o lib/obstack.o lib/obstack.c &&\
mv -f $depbase.Tpo $depbase.Po
lib/obstack.c:351:31: error: incompatible function pointer types initializing 'void (*)(void) __attribute__((noreturn))' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
__attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)
                              ^
1 error generated.
make[5]: *** [Makefile:2781: lib/obstack.o] Error 1

Backporting gnulib commit ("obstack: Fix a clang warning") fixes this.

Fixes: #15270
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-27 15:14:06 +02:00
..
autoconf treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
autoconf-archive tools/autoconf-archive: update to 2021.02.19 2021-09-20 15:21:17 +02:00
automake tools/automake: Revert "Do not use $(V) - force AM_V=1" 2019-11-06 00:21:15 +01:00
b43-tools tools/b43-tools/b43-fwsquash: convert to Python 3 with 2-to-3 2019-07-26 08:09:16 +02:00
bash tools: build bash on macOS and use it for ipkg-build 2022-01-27 13:38:48 +01:00
bc tools: use https for bc mirrors 2022-02-24 15:36:28 +01:00
bison tools: assign PKG_CPE_ID 2023-09-27 17:30:45 +02:00
cbootimage treewide: update email address of Tomasz Maciej Nowak 2020-11-24 15:39:07 +01:00
cbootimage-configs treewide: update email address of Tomasz Maciej Nowak 2020-11-24 15:39:07 +01:00
ccache ccache: update to 4.6.3 2023-04-27 21:02:10 +02:00
cmake tools/cmake: Build without some included libs 2023-11-21 00:38:36 +01:00
coreutils tools/coreutils: build chown 2022-01-27 13:38:48 +01:00
cpio tools/cpio: fix compilation with clang 2021-11-20 21:08:25 +01:00
dosfstools dosfstools: switch to AC_CHECK_LIB 2023-01-16 23:58:16 +01:00
e2fsprogs e2fsprogs: Fix CVE-2022-1304 2022-12-06 23:29:14 +01:00
elftosb treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
expat tools/expat: build with autotools again 2023-11-21 00:38:36 +01:00
fakeroot tools/fakeroot: update to 1.28 2022-03-13 19:24:13 +01:00
findutils tools/findutils: update to 4.9.0 2022-03-01 00:08:08 +01:00
firmware-utils firmware-utils: tplink-safeloader: add Mercusys MR70X 2023-03-24 16:04:38 +01:00
flex flex: Add a lex symlink 2018-11-25 19:23:03 +01:00
flock tools/flock: add PKG_{VERSION,RELEASE} 2020-07-23 11:30:22 +02:00
genext2fs treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
gengetopt tools/gengetopt: Update to 2.23 2019-07-08 16:42:26 +02:00
gmp tools: assign PKG_CPE_ID 2023-09-27 17:30:45 +02:00
include build: fix kernel 5.4 on macos 2020-03-14 13:20:06 +00:00
isl tools/isl: update the download URL 2021-10-21 20:37:20 +01:00
kernel2minor tools: kernel2minor: update to latest version 2018-07-12 18:15:33 +02:00
libressl tools/libressl: update to version 3.4.3 2022-06-25 00:05:21 +02:00
libtool libtool: Revert "libtool: bump to 2.4.6" 2021-09-23 13:39:11 +02:00
llvm-bpf tools: assign PKG_CPE_ID 2023-09-27 17:30:45 +02:00
lzma treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
lzma-old treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
m4 tools/m4: update to 1.4.19 2021-09-20 15:21:17 +02:00
make-ext4fs make_ext4fs: Update to version 2020-01-05 2020-01-05 20:04:37 +01:00
meson tools/meson: backport WSL2 fix 2022-10-03 19:51:50 +02:00
missing-macros treewide: remove empty default cases 2020-09-17 12:46:19 +02:00
mkimage tools/mkimage: build uboot with NO_SDL=1 2023-01-22 01:35:16 +01:00
mklibs tools/mklibs: update to 0.1.45 2022-03-01 00:08:08 +01:00
mpc tools/mpc: update to 1.2.1 2020-11-21 18:49:27 +01:00
mpfr tools/mpfr: update to 4.1.0 2020-08-23 19:40:32 +02:00
mtd-utils tools: assign PKG_CPE_ID 2023-09-27 17:30:45 +02:00
mtools mtools: update to version 4.0.39 2022-04-15 14:12:18 +01:00
ninja tools: build ninja before ccache to fix the build order 2021-06-12 14:33:57 +02:00
padjffs2 tools: drop PKG_VERSION for purely local packages 2020-07-23 10:54:33 +02:00
patch tools/patch: apply patch for EACCES on xattr copy 2022-11-27 15:43:08 +01:00
patch-image rb532: drop target 2020-09-02 16:29:22 +02:00
patchelf tools/patchelf: bump to use latest master 2021-02-15 07:12:51 +01:00
pkgconf pkg-config: always use correct path for pkg-config.real 2022-08-14 00:29:20 +02:00
quilt tools/quilt: update to 0.67 2022-02-25 14:12:39 +01:00
sdimage tools/sdimage: Fix build with host Linux headers < 3.18 2018-12-16 14:03:35 +01:00
sed tools/sed: fix compilation on macOS 14 2024-04-27 15:14:06 +02:00
sparse tools/sparse: update to 0.6.4 2021-09-20 15:21:17 +02:00
squashfs squashfs: Fix compile with GCC 10 2020-05-24 14:38:40 +02:00
squashfskit4 tools/squashfskit4: fix compilation under big endian 2021-06-20 18:59:36 -10:00
sstrip tools/sstrip: update to 3.2 2021-09-20 15:21:17 +02:00
tar tools/tar: update to 1.34 2021-09-05 21:26:48 +02:00
xz tools/xz: Update to 5.2.5 2020-04-09 22:09:13 +02:00
zip tools: assign PKG_CPE_ID 2023-09-27 17:30:45 +02:00
zlib tools/zlib: switch to configure script 2023-11-21 00:38:36 +01:00
zstd tools/zstd: update to 1.5.2 2022-03-01 00:08:08 +01:00
Makefile tools: fix firmware-utils depends 2023-11-21 00:38:36 +01:00