From 2cc0692eef934f069749f09317bf45feaeb92c45 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Fri, 7 Jun 2024 02:56:04 +0000 Subject: [PATCH] freebsd.libcxxrt: don't copy unwind headers These headers conflict with the unwind headers from libunwind provided by libgcc_eh in `freebsd.libc`. Upstream FreeBSD does not use these headers in any capacity, and they cause some incompatibilities since libcxxrt unwind.h requires _GNU_SOURCE for some functions, while libunwind does not. --- .../os-specific/bsd/freebsd/patches/14.0/libcxxrt-headers.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/bsd/freebsd/patches/14.0/libcxxrt-headers.patch b/pkgs/os-specific/bsd/freebsd/patches/14.0/libcxxrt-headers.patch index 256db9e2d9cf..a1418bd49975 100644 --- a/pkgs/os-specific/bsd/freebsd/patches/14.0/libcxxrt-headers.patch +++ b/pkgs/os-specific/bsd/freebsd/patches/14.0/libcxxrt-headers.patch @@ -4,7 +4,7 @@ SRCS+= terminate.cc SRCS+= typeinfo.cc -+INCS+=cxxabi.h unwind.h unwind-arm.h unwind-itanium.h ++INCS+=cxxabi.h + WARNS?= 0 CFLAGS+= -isystem ${SRCDIR} -nostdinc++