diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch | 12 | ||||
-rw-r--r-- | dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild | 1 |
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() { |