1
mirror of https://github.com/bitcoin/bitcoin synced 2024-10-06 00:15:52 +02:00
bitcoin/depends/packages
Sebastian Falbesoner 0fbf051fec depends: fix BDB compilation on OpenBSD
Compiling C++ code with `-D_XOPEN_SOURCE=600` causes problems on
OpenBSD. If that define is set, the C++ standard header detection
routine in BDB's configure script fails. This results in
`HAVE_CXX_STDHEADERS` not being defined, which then it turn leads to
the inclusion of `<iostream.h>` (rather than `<iostream>`), which
doesn't exist.

According to a mailing list post discussing a similar problem [1],
"OpenBSD provides the POSIX APIs by default", so we don't need this
define anyway and can remove it. This fixes the BDB build problem as
described in issue #28963.

Tested on OpenBSD 7.4 with clang 13.0.0.

[1] https://www.mail-archive.com/tech@openbsd.org/msg63386.html
2024-02-18 01:57:16 +01:00
..
bdb.mk depends: fix BDB compilation on OpenBSD 2024-02-18 01:57:16 +01:00
boost.mk build: patch boost process for macOS 14 SDK 2023-12-05 09:55:01 +00:00
capnp.mk depends: always install capnp to /lib 2023-12-12 13:58:38 +00: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
libevent.mk depends: add NO_HARDEN option 2023-04-04 10:07:41 +01:00
libmultiprocess.mk depends: build libmultiprocess with position independant code 2023-12-12 13:58:38 +00:00
libnatpmp.mk depends: use ar rather than libtool for miniupnpc/libnatpmp 2024-01-26 19:12:45 +00:00
libXau.mk
libxcb_util_image.mk
libxcb_util_keysyms.mk
libxcb_util_render.mk
libxcb_util_wm.mk
libxcb_util.mk
libxcb.mk libxcb: use a patch instead of sed 2022-07-29 14:02:23 +01:00
libxkbcommon.mk build: suppress array-bounds errors in libxkbcommon 2022-06-23 17:29:31 +01:00
miniupnpc.mk depends: use ar rather than libtool for miniupnpc/libnatpmp 2024-01-26 19:12:45 +00:00
native_capnp.mk depends: Build native_capnp package with CMake 2023-12-04 14:39:59 +00:00
native_cctools.mk depends: cctools 986 & ld64 711 2023-09-06 16:36:40 +01:00
native_libmultiprocess.mk depends: Update libmultiprocess library to fix C++20 macos build error 2024-01-22 11:47:13 -05:00
native_libtapi.mk build: rename native_clang to native_llvm 2023-12-21 09:37:33 +00:00
native_llvm.mk build: rename native_clang to native_llvm 2023-12-21 09:37:33 +00:00
packages.mk build: rename native_clang to native_llvm 2023-12-21 09:37:33 +00:00
qrencode.mk depends: qrencode 4.1.1 2023-03-23 10:31:25 +00:00
qt.mk depends: patch around non-determinism in qt 2023-12-21 09:37:33 +00:00
sqlite.mk depends: Do not override CFLAGS when building SQLite with DEBUG=1 2024-01-25 12:25:27 +00:00
systemtap.mk Revert "depends: systemtap: remove variadic params that trigger compiler warnings" 2024-01-04 17:11:37 +00:00
xcb_proto.mk depends: xcb-proto 1.15.2 2023-07-18 11:27:24 +01:00
xproto.mk
zeromq.mk depends: zeromq 4.3.5 2023-10-24 12:11:11 +01:00