summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalah Coronya <salah.coronya@gmail.com>2020-02-19 20:06:07 -0600
committerJoonas Niilola <juippis@gentoo.org>2020-02-26 18:17:25 +0200
commit8ae25bc849c29a34378347034ea88125db3092aa (patch)
tree971a4d1c55c97a964e5d31ea8df911d21f71e982 /app-crypt/tpm2-totp/files
parentapp-crypt/tpm2-totp: Add salah.coronya@gmail.com as proxy maintainer (diff)
downloadgentoo-8ae25bc849c29a34378347034ea88125db3092aa.tar.gz
gentoo-8ae25bc849c29a34378347034ea88125db3092aa.tar.bz2
gentoo-8ae25bc849c29a34378347034ea88125db3092aa.zip
app-crypt/tpm2-totp: Remove old
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Salah Coronya <salah.coronya@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-totp/files')
-rw-r--r--app-crypt/tpm2-totp/files/tpm2-totp-0.1.1-build.patch70
1 files changed, 0 insertions, 70 deletions
diff --git a/app-crypt/tpm2-totp/files/tpm2-totp-0.1.1-build.patch b/app-crypt/tpm2-totp/files/tpm2-totp-0.1.1-build.patch
deleted file mode 100644
index 232b4f9e8682..000000000000
--- a/app-crypt/tpm2-totp/files/tpm2-totp-0.1.1-build.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 2652497a15572d2484f57fee8be252d0d5fe4f8c Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <alon.barlev@gmail.com>
-Date: Fri, 31 May 2019 01:39:29 +0300
-Subject: [PATCH] build: add --disable-defaultflags
-
-Align with tpm2-tss to allow downstream to provide flags.
-
-Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
----
- configure.ac | 42 +++++++++++++++++++++++++-----------------
- 1 file changed, 25 insertions(+), 17 deletions(-)
-
-https://github.com/tpm2-software/tpm2-totp/pull/39
-
-diff --git a/configure.ac b/configure.ac
-index baf596b..ac11e1e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -47,23 +47,31 @@ AC_SUBST([LIBEXECDIR])
-
- AC_CONFIG_FILES([Makefile dist/tpm2-totp.pc dist/dracut/module-setup.sh dist/initcpio/install/plymouth-tpm2-totp])
-
--AX_ADD_COMPILER_FLAG([-std=c99])
--AX_ADD_COMPILER_FLAG([-Wall])
--AX_ADD_COMPILER_FLAG([-Wextra])
--AX_ADD_COMPILER_FLAG([-Wformat-security])
--AX_ADD_COMPILER_FLAG([-Werror])
--AX_ADD_COMPILER_FLAG([-fstack-protector-all])
--AX_ADD_COMPILER_FLAG([-fpic])
--AX_ADD_COMPILER_FLAG([-fPIC])
--
--# work around GCC bug #53119
--# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
--AX_ADD_COMPILER_FLAG([-Wno-missing-braces])
--
--AX_ADD_LINK_FLAG([-Wl,--no-undefined])
--AX_ADD_LINK_FLAG([-Wl,-z,noexecstack])
--AX_ADD_LINK_FLAG([-Wl,-z,now])
--AX_ADD_LINK_FLAG([-Wl,-z,relro])
-+AC_ARG_ENABLE([defaultflags],
-+ [AS_HELP_STRING([--disable-defaultflags],
-+ [Disable default preprocessor, compiler, and linker flags.])],
-+ [enable_defaultflags=$enableval],
-+ [enable_defaultflags=yes])
-+AS_IF([test "x$enable_defaultflags" = "xyes"],
-+ [
-+ AX_ADD_COMPILER_FLAG([-std=c99])
-+ AX_ADD_COMPILER_FLAG([-Wall])
-+ AX_ADD_COMPILER_FLAG([-Wextra])
-+ AX_ADD_COMPILER_FLAG([-Wformat-security])
-+ AX_ADD_COMPILER_FLAG([-Werror])
-+ AX_ADD_COMPILER_FLAG([-fstack-protector-all])
-+ AX_ADD_COMPILER_FLAG([-fpic])
-+ AX_ADD_COMPILER_FLAG([-fPIC])
-+
-+ # work around GCC bug #53119
-+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
-+ AX_ADD_COMPILER_FLAG([-Wno-missing-braces])
-+
-+ AX_ADD_LINK_FLAG([-Wl,--no-undefined])
-+ AX_ADD_LINK_FLAG([-Wl,-z,noexecstack])
-+ AX_ADD_LINK_FLAG([-Wl,-z,now])
-+ AX_ADD_LINK_FLAG([-Wl,-z,relro])
-+ ])
-
- AX_CODE_COVERAGE
- m4_ifdef([_AX_CODE_COVERAGE_RULES],
---
-2.21.0
-