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 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 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 build: libXau 1.0.9 2021-12-03 14:07:10 +08: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
libxcb_util.mk build: Use config_opts instead of passing a compiler flag directly 2021-12-12 18:08:43 +02:00
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 build: xproto 7.0.31 2021-12-03 14:07:09 +08:00
zeromq.mk depends: zeromq 4.3.5 2023-10-24 12:11:11 +01:00