bitcoin/depends/packages
fanquake f8b8458276
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.
2023-04-17 10:14:25 +01:00
..
bdb.mk depends: fix compiling bdb with clang-16 on aarch64 2023-04-17 10:14:25 +01:00
boost.mk build: Update Boost to 1.81.0 in depends 2022-12-14 15:25:02 +00:00
capnp.mk build: Specify native binaries explicitly when building capnp package 2022-06-09 15:56:52 +02:00
expat.mk depends: re-enable using -flto when building expat 2022-07-26 11:37:55 +01:00
fontconfig.mk depends: make fontconfig build under clang-16 2023-03-27 16:33:15 +01:00
freetype.mk build: freetype 2.11.0 2021-12-03 14:07:10 +08:00
libevent.mk depends: add NO_HARDEN option 2023-04-04 10:07:41 +01:00
libmultiprocess.mk build: Update libmultiprocess library 2022-12-09 15:26:58 +00:00
libnatpmp.mk depends: libnatpmp 07004b97cf691774efebe70404cf22201e4d330d 2022-08-24 16:03:21 +01:00
libXau.mk build: libXau 1.0.9 2021-12-03 14:07:10 +08:00
libxcb.mk libxcb: use a patch instead of sed 2022-07-29 14:02:23 +01: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 2022-06-23 17:29:31 +01:00
miniupnpc.mk build: set D_WIN32_WINNT=0x0601 for mingw miniupnpc 2022-09-22 14:36:05 +01:00
native_capnp.mk depends: add MULTIPROCESS depends option 2020-05-12 09:47:06 -04:00
native_cctools.mk depends: don't restrict --enable-lto to non-guix cctools 2022-07-29 12:48:19 +01:00
native_clang.mk cctools: fixup building with LTO 2022-07-29 12:48:19 +01:00
native_ds_store.mk depends: update urls for dmg tools 2022-07-13 12:47:20 +01:00
native_libmultiprocess.mk build: Update libmultiprocess library 2022-12-09 15:26:58 +00:00
native_libtapi.mk cctools: fixup building with LTO 2022-07-29 12:48:19 +01:00
native_mac_alias.mk depends: update urls for dmg tools 2022-07-13 12:47:20 +01:00
packages.mk build: allow NO_LIBEVENT=1 in depends 2023-01-14 12:31:22 +00:00
qrencode.mk depends: qrencode 4.1.1 2023-03-23 10:31:25 +00:00
qt.mk build, qt: Fix handling of CXX=clang++ when building qt package 2023-03-23 14:38:02 +00:00
sqlite.mk depends: ensure we are appending to sqlite cflags 2023-01-30 17:15:01 +00:00
systemtap.mk depends: systemtap: remove variadic params that trigger compiler warnings 2023-01-23 18:12:26 +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: copy config.{guess,sub} post autogen in zmq package 2022-10-29 15:51:10 +01:00