commit:     299d0bc7a122e5db3c3a899029f084f1c881fdcf
Author:     Salah Coronya <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Sat Mar 20 01:27:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 05:52:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=299d0bc7

app-crypt/tpm2-totp: Fix build with slibtool

Closes: https://bugs.gentoo.org/777291
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20014
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...-totp-0.3.0-Remove-bogus-value-from-Makefile.am | 23 ++++++++++++++++++++++
 app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild         |  6 +++++-
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git 
a/app-crypt/tpm2-totp/files/tpm2-totp-0.3.0-Remove-bogus-value-from-Makefile.am 
b/app-crypt/tpm2-totp/files/tpm2-totp-0.3.0-Remove-bogus-value-from-Makefile.am
new file mode 100644
index 00000000000..965b376a388
--- /dev/null
+++ 
b/app-crypt/tpm2-totp/files/tpm2-totp-0.3.0-Remove-bogus-value-from-Makefile.am
@@ -0,0 +1,23 @@
+From 893ab78144b95a52d73e1c125e56380fbec68a6f Mon Sep 17 00:00:00 2001
+From: orbea <[email protected]>
+Date: Fri, 19 Mar 2021 11:01:03 -0700
+Subject: [PATCH] build: Remove bogus value from Makefile.am.
+
+Signed-off-by: orbea <[email protected]>
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 984212a..cdaecbd 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -71,7 +71,7 @@ include_HEADERS += include/tpm2-totp.h
+ 
+ libtpm2_totp_la_SOURCES = src/libtpm2-totp.c
+ libtpm2_totp_la_LIBADD = $(AM_LDADD)
+-libtpm2_totp_la_LDFLAGS = $(AM_LDFLAGS) '(tpm2_totp)'
++libtpm2_totp_la_LDFLAGS = $(AM_LDFLAGS)
+ 
+ pkgconfig_DATA = dist/tpm2-totp.pc
+ 

diff --git a/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild 
b/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild
index b02901ba1dc..5bd31217475 100644
--- a/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild
+++ b/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -32,6 +32,10 @@ BDEPEND="virtual/pkgconfig"
 
 RESTRICT="!test? ( test )"
 
+PATCHES=(
+       "${FILESDIR}/${P}-Remove-bogus-value-from-Makefile.am"
+       )
+
 src_prepare() {
        default
        eautoreconf

Reply via email to