commit: 0f66e61fe78bd2a385ebe1c1beae564f3d42a494 Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com> AuthorDate: Fri Nov 13 21:34:16 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Nov 20 10:11:30 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f66e61f
app-crypt/tpm2-tss: Fix building with autoconf-2.70 Closes: https://bugs.gentoo.org/750845 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18252 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> ...ss-3.0.1-Fix-underquoting-in-configure-ac.patch | 22 ++++++++++++++++++++++ app-crypt/tpm2-tss/tpm2-tss-3.0.1.ebuild | 1 + 2 files changed, 23 insertions(+) diff --git a/app-crypt/tpm2-tss/files/tpm2-tss-3.0.1-Fix-underquoting-in-configure-ac.patch b/app-crypt/tpm2-tss/files/tpm2-tss-3.0.1-Fix-underquoting-in-configure-ac.patch new file mode 100644 index 00000000000..a593716c97e --- /dev/null +++ b/app-crypt/tpm2-tss/files/tpm2-tss-3.0.1-Fix-underquoting-in-configure-ac.patch @@ -0,0 +1,22 @@ +diff --git a/configure.ac b/configure.ac +index ff59dd7c..3049032b 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -285,7 +285,7 @@ AC_ARG_ENABLE([integration], + [build and execute integration tests])],, + [enable_integration=no]) + AS_IF([test "x$enable_integration" = "xyes"], +- AS_IF([test "$HOSTOS" = "Linux"], ++ [AS_IF([test "$HOSTOS" = "Linux"], + [ERROR_IF_NO_PROG([ss])], + [ERROR_IF_NO_PROG([sockstat])]) + ERROR_IF_NO_PROG([echo]) +@@ -335,7 +335,7 @@ AS_IF([test "x$enable_integration" = "xyes"], + [AC_MSG_ERROR([No simulator executable found in PATH for testing TCTI.])]) + AC_SUBST([INTEGRATION_TCTI], [$integration_tcti]) + AC_SUBST([INTEGRATION_ARGS], [$integration_args]) +- AC_SUBST([ENABLE_INTEGRATION], [$enable_integration])) ++ AC_SUBST([ENABLE_INTEGRATION], [$enable_integration])]) + AM_CONDITIONAL([ENABLE_INTEGRATION],[test "x$enable_integration" = "xyes"]) + # + # sanitizer compiler flags diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.0.1.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.0.1.ebuild index 0eb03051233..824c52730cf 100644 --- a/app-crypt/tpm2-tss/tpm2-tss-3.0.1.ebuild +++ b/app-crypt/tpm2-tss/tpm2-tss-3.0.1.ebuild @@ -32,6 +32,7 @@ BDEPEND="virtual/pkgconfig PATCHES=( "${FILESDIR}/${PN}-3.0.0-Dont-run-systemd-sysusers-in-Makefile.patch" + "${FILESDIR}/${P}-Fix-underquoting-in-configure-ac.patch" ) pkg_setup() {
