pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/cairo cairo: Disable symbol lookup tracing fe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd17f350f2c1
branches:  trunk
changeset: 441986:cd17f350f2c1
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Nov 16 09:27:03 2020 +0000

description:
cairo: Disable symbol lookup tracing feature to avoid breakage

This uses libbfd, a library which is not exposed on a typical NetBSD
system, but may be on Linux. libbfd does not appear to have a stable
API, so this code may unexpectedly break.

Reported by Dr. Thomas Orgis (problems manifest on CentOS 7)

diffstat:

 graphics/cairo/Makefile.common |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 9bf099b07a92 -r cd17f350f2c1 graphics/cairo/Makefile.common
--- a/graphics/cairo/Makefile.common    Mon Nov 16 09:05:05 2020 +0000
+++ b/graphics/cairo/Makefile.common    Mon Nov 16 09:27:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2020/01/26 17:31:20 rillig Exp $
+# $NetBSD: Makefile.common,v 1.16 2020/11/16 09:27:03 nia Exp $
 #
 # used by graphics/cairo/Makefile
 # used by graphics/cairo-gobject/Makefile
@@ -24,6 +24,11 @@
 # does not build against NetBSD-5's MesaLib, and is according
 # to upstream, only used by "toy applications"
 CONFIGURE_ARGS+=       --disable-gl
+# this uses libbdf, which is not exposed on a typical NetBSD system,
+# but on Linux the libraries can leak through and be detected anyway.
+# libbdf does not appear to have a stable API, so avoid breakage and
+# disable it outright. it's an internal debugging feature.
+CONFIGURE_ARGS+=       --disable-symbol-lookup
 CONFIGURE_ARGS+=       --enable-fc
 CONFIGURE_ARGS+=       --enable-pdf
 CONFIGURE_ARGS+=       --enable-ps



Home | Main Index | Thread Index | Old Index