pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/cairo



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Nov 16 09:27:03 UTC 2020

Modified Files:
        pkgsrc/graphics/cairo: Makefile.common

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/graphics/cairo/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/cairo/Makefile.common
diff -u pkgsrc/graphics/cairo/Makefile.common:1.15 pkgsrc/graphics/cairo/Makefile.common:1.16
--- pkgsrc/graphics/cairo/Makefile.common:1.15  Sun Jan 26 17:31:20 2020
+++ pkgsrc/graphics/cairo/Makefile.common       Mon Nov 16 09:27:03 2020
@@ -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 @@ GNU_CONFIGURE=               yes
 # 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