diff options
-rw-r--r-- | dev-util/strace/files/strace-5.6-AR.patch | 27 | ||||
-rw-r--r-- | dev-util/strace/strace-5.6.ebuild | 3 |
2 files changed, 29 insertions, 1 deletions
diff --git a/dev-util/strace/files/strace-5.6-AR.patch b/dev-util/strace/files/strace-5.6-AR.patch new file mode 100644 index 000000000000..ac8cc31e1d76 --- /dev/null +++ b/dev-util/strace/files/strace-5.6-AR.patch @@ -0,0 +1,27 @@ +From 0b0dccc7f198ce93f9b5faa3613b1630bffb338f Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Sat, 2 May 2020 16:25:21 -0400 +Subject: [PATCH] configure: check AR variable for 'ar' tool + +Without this, automake always hardcodes 'AR = ar' in Makefile.in + +Bug: https://bugs.gentoo.org/720712 +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.ac b/configure.ac +index 6aabc2c8..7d6dde67 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -36,6 +36,7 @@ AC_PROG_CC_STDC + AC_PROG_CPP + AC_PROG_INSTALL + AC_PROG_RANLIB ++AC_CHECK_TOOL([AR], [ar]) + + AC_USE_SYSTEM_EXTENSIONS + AX_CODE_COVERAGE +-- +2.26.2 + diff --git a/dev-util/strace/strace-5.6.ebuild b/dev-util/strace/strace-5.6.ebuild index c08dbf18c0a5..f19588e9f9c8 100644 --- a/dev-util/strace/strace-5.6.ebuild +++ b/dev-util/strace/strace-5.6.ebuild @@ -41,7 +41,8 @@ RDEPEND=" " PATCHES=( - "${FILESDIR}/${PN}-5.5-static.patch" + "${FILESDIR}/strace-5.5-static.patch" + "${FILESDIR}/strace-5.6-AR.patch" ) src_prepare() { |