Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/679834
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
--- /dev/null
+Add a missing library for gdwgc-8
+--- a/configure.ac
++++ b/configure.ac
+@@ -226,6 +226,8 @@ AC_ARG_ENABLE(gc, AC_HELP_STRING([--enable-gc],
+ if test "$gc" = yes; then
+ PKG_CHECK_MODULES([BDW_GC], [bdw-gc])
+ CXXFLAGS="$BDW_GC_CFLAGS $CXXFLAGS"
++ # a workaround for https://bugs.gentoo.org/679834
++ BDW_GC_LIBS="$BDW_GC_LIBS -lgccpp"
+ AC_DEFINE(HAVE_BOEHMGC, 1, [Whether to use the Boehm garbage collector.])
+ fi
+
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
"${FILESDIR}"/${PN}-1.11.6-respect-CXXFLAGS.patch
"${FILESDIR}"/${PN}-1.11.6-respect-LDFLAGS.patch
"${FILESDIR}"/${PN}-2.0-user-path.patch
+ "${FILESDIR}"/${PN}-2.0.4-bdwgc-8.patch
)
DISABLE_AUTOFORMATTING=yes