openbsd-ports/devel/boehm-gc/patches/patch-bdw-gc_pc_in
kurt 249e6c0862 Update to 8.0.4 with the following additional changes:
- Use mmap via the configure argument instead of hard-coding it.
- Define USE_MMAP_ANON for OpenBSD when --enable-mmap is configured
- Remove unused ELF_CLASS define for OpenBSD.
- Remove old HAVE_DL_ITERATE_PHDR workaround for OpenBSD.
- Don't use old GC_find_limit_openbsd() which is only needed for uthreads.

Tested on i386/amd64/sparc64/aarch64/powerpc/powerpc64/mips64

okay sthen@, gkoehler@
2021-02-05 18:37:48 +00:00

12 lines
417 B
Plaintext

$OpenBSD: patch-bdw-gc_pc_in,v 1.2 2021/02/05 18:37:48 kurt Exp $
Index: bdw-gc.pc.in
--- bdw-gc.pc.in.orig
+++ bdw-gc.pc.in
@@ -6,5 +6,5 @@ includedir=@includedir@
Name: Boehm-Demers-Weiser Conservative Garbage Collector
Description: A garbage collector for C and C++
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} @ATOMIC_OPS_LIBS@ -lgc
+Libs: -L${libdir} @ATOMIC_OPS_LIBS@ -lgc -pthread
Cflags: -I${includedir}