summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalah Coronya <salah.coronya@gmail.com>2020-11-13 15:34:16 -0600
committerJoonas Niilola <juippis@gentoo.org>2020-11-20 12:11:30 +0200
commit0f66e61fe78bd2a385ebe1c1beae564f3d42a494 (patch)
tree021495a6701c9e713726b7e917965f6b1bbfe451 /app-crypt/tpm2-tss
parentmail-filter/rspamd: sync live (diff)
downloadgentoo-0f66e61fe78bd2a385ebe1c1beae564f3d42a494.tar.gz
gentoo-0f66e61fe78bd2a385ebe1c1beae564f3d42a494.tar.bz2
gentoo-0f66e61fe78bd2a385ebe1c1beae564f3d42a494.zip
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@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18252 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-tss')
-rw-r--r--app-crypt/tpm2-tss/files/tpm2-tss-3.0.1-Fix-underquoting-in-configure-ac.patch22
-rw-r--r--app-crypt/tpm2-tss/tpm2-tss-3.0.1.ebuild1
2 files changed, 23 insertions, 0 deletions
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 000000000000..a593716c97ea
--- /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 0eb03051233b..824c52730cf3 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() {