bitcoin/depends/packages
fanquake f0919339bf
depends: fix compiling bdb with clang-16 on aarch64
Compiling bdb with clang-16 on aarch64 (hardware) currently fails:
```bash
make -C depends/ bdb CC=clang CXX=clang++
...
checking for mutexes... UNIX/fcntl
configure: WARNING: NO SHARED LATCH IMPLEMENTATION FOUND FOR THIS PLATFORM.
configure: error: Unable to find a mutex implementation
```

Looking at config.log we've got:
```bash
configure:18704: checking for mutexes
configure:18815: clang -o conftest -pipe -std=c11 -O2 -Wno-error=implicit-function-declaration -Wno-error=format-security    -I/bitcoin/depends/aarch64-unknown-linux-gnu/include -D_GNU_SOURCE -D_REENTRANT   -L/bitcoin/depends/aarch64-unknown-linux-gnu/lib conftest.c  -lpthread >&5
conftest.c:45:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main() {
^
int
conftest.c:50:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        exit (
        ^
conftest.c:50:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning and 1 error generated.
```

Clang-16 changed `-Wimplicit-function-declaration` and `-Wimplicit-int`
warnings into errors, see:
https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html#potentially-breaking-changes.

> The -Wimplicit-function-declaration and -Wimplicit-int warnings now
> default to an error in C99, C11, and C17. As of C2x, support for implicit
> function declarations and implicit int has been removed, and the
> warning options will have no effect. Specifying -Wimplicit-int in
> C89 mode will now issue warnings instead of being a noop.

Github-Pull: #27462
Rebased-From: f8b8458276
2023-04-18 09:45:09 +01:00
..
bdb.mk depends: fix compiling bdb with clang-16 on aarch64 2023-04-18 09:45:09 +01:00
boost.mk build: upgrade depends Boost to 1.77.0 2022-02-22 15:53:45 +00:00
capnp.mk depends: fix capnp's descriptor for make download 2022-02-02 17:55:20 +00:00
expat.mk build, refactor: Reuse expat package version in its download path 2022-02-06 13:19:35 +02:00
fontconfig.mk build: Bump Fonconfig version up to 2.12.6 2021-12-03 17:39:17 +02:00
freetype.mk build: freetype 2.11.0 2021-12-03 14:07:10 +08:00
libevent.mk build: add NetBSD support to depends 2022-02-14 16:52:23 +00:00
libmultiprocess.mk build: remove boost dep from libmultiprocess 2022-02-18 15:13:09 +00:00
libnatpmp.mk build: compile libnatpmp with -DNATPMP_STATICLIB on Windows 2021-03-04 12:34:46 +08:00
libXau.mk build: libXau 1.0.9 2021-12-03 14:07:10 +08:00
libxcb.mk depends: Fix typo 2022-01-04 18:26:12 +02:00
libxcb_util.mk build: Use config_opts instead of passing a compiler flag directly 2021-12-12 18:08:43 +02:00
libxcb_util_image.mk build: add libxcb_util_image 0.4.0 2021-12-03 14:07:11 +08:00
libxcb_util_keysyms.mk build: add libxcb_util_keysyms 0.4.0 2021-12-03 14:07:11 +08:00
libxcb_util_render.mk build: add libxcb_util_render 0.3.9 2021-12-03 14:07:11 +08:00
libxcb_util_wm.mk build: add libxcb_util_wm 0.4.1 2021-12-03 14:07:12 +08:00
libxkbcommon.mk build: suppress array-bounds errors in libxkbcommon 2023-04-17 15:47:13 +01:00
miniupnpc.mk build: miniupnpc 2.2.2 2021-03-23 08:39:16 +08:00
native_capnp.mk depends: add MULTIPROCESS depends option 2020-05-12 09:47:06 -04:00
native_cctools.mk depends: use latest config.guess and config.sub for cctools 2021-07-22 11:10:21 +08:00
native_clang.mk build: remove -f from clang cp invocation 2022-02-14 13:59:44 +00:00
native_ds_store.mk depends: native_ds_store 1.3.0 2020-11-11 08:01:02 +08:00
native_libdmg-hfsplus.mk guix: Build dmg as a static binary 2021-04-05 11:00:39 -04:00
native_libmultiprocess.mk Update libmultiprocess library 2021-04-23 03:02:50 -05:00
native_libtapi.mk build, refactor: Drop redundant $(package)_download_file assignments 2022-02-08 11:16:51 +02:00
native_mac_alias.mk build: mac_alias 2.2.0 2021-04-11 16:38:33 -04:00
packages.mk build: remove native B2 package 2022-02-13 20:59:07 +00:00
qrencode.mk Merge #16110: depends: Add Android NDK support 2019-11-04 13:32:19 +01:00
qt.mk build, qt: bump Qt5 version to 5.15.3 2022-08-12 10:23:56 +01:00
sqlite.mk build: add NetBSD support to depends 2022-02-14 16:52:23 +00:00
systemtap.mk depends: fix systemtap download URL 2023-01-23 10:06:32 +00:00
xcb_proto.mk build: xcb_proto 1.14.1 2021-12-03 14:07:10 +08:00
xproto.mk build: xproto 7.0.31 2021-12-03 14:07:09 +08:00
zeromq.mk build: add NetBSD support to depends 2022-02-14 16:52:23 +00:00