summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-06-21 19:17:21 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-06-21 19:17:21 +0100
commit6dc231526674a32456249629c524e45dc0da367b (patch)
treee2400264a00480cd81b29c92f44205bd8f1c8263
parentdev-util/ltrace:use $CC in tests instead of gcc (diff)
downloadgentoo-6dc231526674a32456249629c524e45dc0da367b.tar.gz
gentoo-6dc231526674a32456249629c524e45dc0da367b.tar.bz2
gentoo-6dc231526674a32456249629c524e45dc0da367b.zip
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@gentoo.org>
-rw-r--r--dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch11
-rw-r--r--dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild1
2 files changed, 12 insertions, 0 deletions
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 000000000000..06db36c46818
--- /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 dce93623818d..bf48fa668be1 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() {