dash/depends/packages
fanquake 9b6a05df66
Merge bitcoin/bitcoin#29443: depends: fix BDB compilation on OpenBSD
0fbf051fec723f86f49ab14ea15c91bb1435c656 depends: fix BDB compilation on OpenBSD (Sebastian Falbesoner)

Pull request description:

  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 due to a missing type name for `locale_t` (see https://gist.github.com/theStack/b41884e31ebc5cdca3220bcaa674cb70 for the relevant config.log part).

  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, as described in #28963.

  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. See also f87e75ae71 for a similar fix for google's flatbuffer project.

  Tested on OpenBSD 7.4 with clang 13.0.0. Fixes #28963.

  [1] https://www.mail-archive.com/tech@openbsd.org/msg63386.html

ACKs for top commit:
  fanquake:
    ACK 0fbf051fec723f86f49ab14ea15c91bb1435c656

Tree-SHA512: 02139e9081ed855e067bfba8c81b54c657417576e553cc1035a916ada9be049358f5e14d756d5f234c5226bd7e943f61c6ae8990c1b152f9125681b7b777c9b3
2024-10-24 11:16:20 -05:00
..
backtrace.mk fix: bump version of libbacktrace library 2024-05-29 12:26:11 +07:00
bdb.mk Merge bitcoin/bitcoin#29443: depends: fix BDB compilation on OpenBSD 2024-10-24 11:16:20 -05:00
boost.mk merge bitcoin#30217: Update Boost download link 2024-08-13 22:53:52 +07:00
capnp.mk Merge bitcoin/bitcoin#29706: depends: set two CMake options globally 2024-10-04 12:54:24 -05:00
expat.mk Merge bitcoin/bitcoin#29488: depends: always configure with --with-pic 2024-09-26 22:38:53 -05:00
fontconfig.mk
freetype.mk Merge bitcoin/bitcoin#29488: depends: always configure with --with-pic 2024-09-26 22:38:53 -05:00
gmp.mk build: set -march irrespective of target operating system 2024-10-08 14:52:16 +00:00
libevent.mk Merge bitcoin/bitcoin#30743: depends: build libevent with -D_GNU_SOURCE 2024-10-01 22:54:14 -05:00
libmultiprocess.mk Merge bitcoin/bitcoin#29706: depends: set two CMake options globally 2024-10-04 12:54:24 -05:00
libnatpmp.mk
libXau.mk Merge bitcoin/bitcoin#29488: depends: always configure with --with-pic 2024-09-26 22:38:53 -05:00
libxcb_util_image.mk
libxcb_util_keysyms.mk
libxcb_util_render.mk
libxcb_util_wm.mk
libxcb_util.mk Merge bitcoin/bitcoin#29488: depends: always configure with --with-pic 2024-09-26 22:38:53 -05:00
libxcb.mk Merge bitcoin/bitcoin#25738: depends: use a patch instead of sed in libxcb 2024-06-08 20:59:36 -05:00
libxkbcommon.mk
miniupnpc.mk
native_capnp.mk Merge bitcoin/bitcoin#28856: depends: Build the native_capnp and capnp packages with CMake 2024-10-04 12:54:23 -05:00
native_cctools.mk
native_clang.mk
native_ds_store.mk Merge bitcoin/bitcoin#25605: depends: update urls for dmg tools 2024-02-28 13:16:40 -06:00
native_libdmg-hfsplus.mk Merge #19685: depends: CMake invocation cleanup 2024-01-16 09:34:27 -06:00
native_libmultiprocess.mk Merge bitcoin/bitcoin#30513: depends: Bump libmultiprocess for CMake fixes 2024-10-03 01:16:41 -05:00
native_libtapi.mk
native_mac_alias.mk Merge bitcoin/bitcoin#25605: depends: update urls for dmg tools 2024-02-28 13:16:40 -06:00
packages.mk merge bitcoin#23724: add systemtap's sys/sdt.h as depends for GUIX builds with USDT tracepoints 2024-09-04 18:46:13 +00:00
qrencode.mk Merge bitcoin/bitcoin#29725: depends: build libqrencode with CMake 2024-09-29 10:54:41 +03:00
qt.mk Merge bitcoin/bitcoin#28769: build: Update qt package up to 5.15.11 2024-05-24 13:21:05 -05:00
sqlite.mk Merge bitcoin/bitcoin#29488: depends: always configure with --with-pic 2024-09-26 22:38:53 -05:00
systemtap.mk merge bitcoin#26945: systemtap 4.8 2024-09-04 18:46:14 +00:00
xcb_proto.mk Merge bitcoin/bitcoin#28097: depends: xcb-proto 1.15.2 2024-05-07 12:34:22 -05:00
xproto.mk
zeromq.mk fix mingw32 build 2024-09-28 10:48:43 +03:00