commit: 6dc231526674a32456249629c524e45dc0da367b Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sun Jun 21 18:17:21 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sun Jun 21 18:17:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dc23152
dev-util/ltrace: use ${CXX} instead of c++ for tests Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch | 11 +++++++++++ dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild | 1 + 2 files changed, 12 insertions(+) diff --git a/dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch b/dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch new file mode 100644 index 00000000000..06db36c4681 --- /dev/null +++ b/dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch @@ -0,0 +1,11 @@ +Testsuite uses CXX to trace mangled symbols. +--- a/configure.ac ++++ b/configure.ac +@@ -53,6 +53,7 @@ AC_SUBST(HOST_CPU) + + # Checks for programs. + AC_PROG_CC ++AC_PROG_CXX + LT_INIT + # libtool-2: LT_INIT() + AM_INIT_AUTOMAKE([foreign no-exeext dist-bzip2]) diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild index dce93623818..bf48fa668be 100644 --- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild +++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild @@ -46,6 +46,7 @@ PATCHES=( "${FILESDIR}"/${PN}-0.7.3-no-REG_NOERROR.patch #713428 "${FILESDIR}"/${PN}-0.7.3-pid_t.patch #713428 "${FILESDIR}"/${PN}-0.7.3-tuple-tests.patch + "${FILESDIR}"/${PN}-0.7.3-CXX-for-tests.patch ) src_prepare() {