git: 188a5737a6e9 - main - graphics/gegl: Fix build WITH_DEBUG.
Mathieu Arnold
mat at FreeBSD.org
Mon May 31 12:07:47 UTC 2021
The branch main has been updated by mat:
URL: https://cgit.FreeBSD.org/ports/commit/?id=188a5737a6e9c2510b13aaf1dbd791fd349c04e1
commit 188a5737a6e9c2510b13aaf1dbd791fd349c04e1
Author: Michael Zhilin <mizhka at FreeBSD.org>
AuthorDate: 2021-05-31 12:06:11 +0000
Commit: Mathieu Arnold <mat at FreeBSD.org>
CommitDate: 2021-05-31 12:06:11 +0000
graphics/gegl: Fix build WITH_DEBUG.
ld: error: undefined symbol: backtrace_symbols_fd
>>> referenced by gegl-buffer.c:349 (../gegl/buffer/gegl-buffer.c:349)
>>> gegl/libgegl-0.4.so.0.427.1.p/buffer_gegl-buffer.c.o:(gegl_buffer_leaks)
>>> referenced by gegl-buffer.c:939 (../gegl/buffer/gegl-buffer.c:939)
>>> gegl/libgegl-0.4.so.0.427.1.p/buffer_gegl-buffer.c.o:(gegl_bt)
ld: error: undefined symbol: backtrace
>>> referenced by gegl-buffer.c:938 (../gegl/buffer/gegl-buffer.c:938)
>>> gegl/libgegl-0.4.so.0.427.1.p/buffer_gegl-buffer.c.o:(gegl_bt)
>>> referenced by gegl-buffer.c:922 (../gegl/buffer/gegl-buffer.c:922)
>>> gegl/libgegl-0.4.so.0.427.1.p/buffer_gegl-buffer.c.o:(gegl_buffer_set_alloc_stack)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
PR: 253788
---
graphics/gegl/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index 51cf4ad809ee..1d2eaeb42308 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -127,6 +127,10 @@ MESON_ARGS+= -Dpangocairo=disabled
PLIST_SUB+= PANGOCAIRO="@comment "
.endif
+.if defined(WITH_DEBUG)
+LDFLAGS+= -lexecinfo
+.endif
+
post-patch:
.if ${CHOSEN_COMPILER_TYPE} == clang
${REINPLACE_CMD} -e '/altivec.h/d' ${WRKSRC}/gegl/opencl/cl_platform.h
More information about the dev-commits-ports-all
mailing list