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 Merge bitcoin/bitcoin#22783: build: Cleanup depends build system 2022-06-27 11:37:03 -05:00
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 merge bitcoin#21209: use newer source for libnatpmp 2022-02-26 17:49:13 +05:30
libXau.mk Merge bitcoin/bitcoin#29488: depends: always configure with --with-pic 2024-09-26 22:38:53 -05:00
libxcb_util_image.mk merge bitcoin#23489: Qt 5.15.2 2023-08-08 06:05:02 -05:00
libxcb_util_keysyms.mk merge bitcoin#23489: Qt 5.15.2 2023-08-08 06:05:02 -05:00
libxcb_util_render.mk merge bitcoin#23489: Qt 5.15.2 2023-08-08 06:05:02 -05:00
libxcb_util_wm.mk merge bitcoin#23489: Qt 5.15.2 2023-08-08 06:05:02 -05:00
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 Merge bitcoin/bitcoin#25436: build: GCC-12 build improvements 2022-11-02 10:24:45 -05:00
miniupnpc.mk merge bitcoin#25964: fix mingw miniupnpc cflags 2023-01-18 19:02:39 -06:00
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 merge bitcoin#25633: don't restrict --enable-lto to non-guix cctools 2023-06-29 12:31:03 -05:00
native_clang.mk merge bitcoin#25633: don't restrict --enable-lto to non-guix cctools 2023-06-29 12:31:03 -05:00
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 merge bitcoin#25633: don't restrict --enable-lto to non-guix cctools 2023-06-29 12:31:03 -05:00
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 merge bitcoin#23489: Qt 5.15.2 2023-08-08 06:05:02 -05:00
zeromq.mk fix mingw32 build 2024-09-28 10:48:43 +03:00