summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-06-21 19:03:13 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-06-21 19:08:05 +0100
commitd15a204b616fbf9ab244dbc56f0dbd968adbad4e (patch)
treebd413a0c8b0480a27055951e5a1a357277178b00 /dev-util/ltrace
parentdev-libs/cyberjack: drop old version (diff)
downloadgentoo-d15a204b616fbf9ab244dbc56f0dbd968adbad4e.tar.gz
gentoo-d15a204b616fbf9ab244dbc56f0dbd968adbad4e.tar.bz2
gentoo-d15a204b616fbf9ab244dbc56f0dbd968adbad4e.zip
dev-util/ltrace:use $CC in tests instead of gcc
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/ltrace')
-rw-r--r--dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch12
-rw-r--r--dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild1
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch b/dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch
new file mode 100644
index 000000000000..9abeb28b4883
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch
@@ -0,0 +1,12 @@
+Use $CC instead of gcc in testsuite.
+--- a/testsuite/Makefile.am
++++ b/testsuite/Makefile.am
+@@ -39,6 +39,8 @@ env.exp: Makefile
+ rm -f env.exp
+ echo set libelf_LD_LIBRARY_PATH '"$(libelf_LD_LIBRARY_PATH)"' >> $@
+ echo set libunwind_LD_LIBRARY_PATH '"$(libunwind_LD_LIBRARY_PATH)"' >> $@
++ echo set CC_FOR_TARGET '"$(CC)"' >> $@
++ echo set CXX_FOR_TARGET '"$(CXX)"' >> $@
+
+ CLEANFILES = *.o *.so *.log *.sum *.ltrace site.bak setval.tmp site.exp env.exp
+
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 0f327a431cd5..dce93623818d 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -45,6 +45,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.7.3-no-error.h-2.patch #713428
"${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
)
src_prepare() {