summaryrefslogtreecommitdiff
path: root/dev-libs/libtpms
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /dev-libs/libtpms
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-libs/libtpms')
-rw-r--r--dev-libs/libtpms/Manifest5
-rw-r--r--dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch13
-rw-r--r--dev-libs/libtpms/libtpms-0.7.4.ebuild (renamed from dev-libs/libtpms/libtpms-0.7.3.ebuild)10
3 files changed, 23 insertions, 5 deletions
diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 5da2d92b2b18..51120026417d 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,3 +1,4 @@
-DIST libtpms-0.7.3.tar.gz 1206014 BLAKE2B 32636be3e15e27a53de1c935144d2363a80689456bd70493b4eef38214ef1b9ef84ae43d1da253c9dd3e362d385b6e1638eace7a1f105736ca54f581a5f474f0 SHA512 bfd573f909965991e266434391de5f1e52c724e679e5580b7839032a1ee57f8d36cdec6d892b1d22fb7285335801a6fe17ea8559ea7ba43704fbf57c6a06dd05
-EBUILD libtpms-0.7.3.ebuild 685 BLAKE2B 68f92d960b69dcf47f7857c5dcffb1779ca0590f55376dfd02fcc8aa2d0d59b12e378c575d4cdf43be97693a88f48c4cd306c0eb612d63e475a28381f4ba7221 SHA512 59ab00ed93f3fbcede655b7329ed028cc8cb25dc0f28234bc11b083916db6deaf821a82413f416b8811c4a67f4173d204a2a0efc0e68238cc9b83cc8ab970dbc
+AUX libtpms-0.7.3-Remove-WError.patch 479 BLAKE2B b0cf706227212f8cdf15b41ae516cb436ae21248454251121778c785a09ff98ac844ddabd5bbf4426020c7f5925c5cc1d3913af4dcc37f0d0c6beb136ff28a84 SHA512 b69c13d8c30fce436cecc091bc1bf201ed0ca049fd1f4a48af24b9cad7e7fdf8f7eff951c941ab0e93a94783e680ba3c7ab139e7283297d325ee016984787534
+DIST libtpms-0.7.4.tar.gz 1212986 BLAKE2B ff34a9c35167a251eb8ba222255f6be316503d67dde7fba46b6cbc32a1f4eb5ff5a2bb5f0c21963b8d879481f6f4b09646e8e0c5fcddb12cb73309c47505070f SHA512 5a396a7e8273bed1159b0c48d2bf9f02550fed06656240e336778587b7fbe53859dab8f2ba479683e02fedfde4260a9083641be161aec0cb38a605399300997a
+EBUILD libtpms-0.7.4.ebuild 742 BLAKE2B 8dbd305866a715b3191cb61db3e9e16a335f89a2d9c5f1c55e11d56cb41818d95c730598c3dd66113321b807e9bc5a1b2bcd9093f139ae1f13aaf5ca455775da SHA512 efebeca4aa086bf63dce3a493959a66326b5be2053a3914c8f914595385f046991c6d23413fa7a3f3ca7aef7849f58bbaa2d53cad258de0ad930d8b50b87d28e
MISC metadata.xml 370 BLAKE2B eb4d1a4a8e56cbdcb5b7f86029feb6e2151967f7b4801fbb3a8c2de35840969a4987ca2aada95792cb35ab03702715b1f66fe966c176969de743c64775bed0cb SHA512 5a2f5a0089bb0c54dd36821005a65cbe8c4fd05f1d7e0367eaff02031a39c749e005e5432da334081304af8c55b330b549821819455f1f0919d4525a254ca5c6
diff --git a/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch b/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch
new file mode 100644
index 000000000000..fe17f898f5e6
--- /dev/null
+++ b/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 1bb45d1..147aa84 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -283,7 +283,7 @@ if test "x$enable_hardening" != "xno"; then
+ AC_SUBST([HARDENING_LDFLAGS])
+ fi
+
+-CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare -Wno-self-assign"
++CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Wreturn-type -Wsign-compare -Wno-self-assign"
+ LDFLAGS="$LDFLAGS $COVERAGE_LDFLAGS"
+
+ AC_CONFIG_FILES(Makefile \
diff --git a/dev-libs/libtpms/libtpms-0.7.3.ebuild b/dev-libs/libtpms/libtpms-0.7.4.ebuild
index 1daf31882dc5..e11a466ade7a 100644
--- a/dev-libs/libtpms/libtpms-0.7.3.ebuild
+++ b/dev-libs/libtpms/libtpms-0.7.4.ebuild
@@ -17,6 +17,10 @@ DEPEND=" !libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.7.3-Remove-WError.patch"
+)
+
src_prepare() {
default
eautoreconf
@@ -24,9 +28,9 @@ src_prepare() {
src_configure() {
econf \
- --disable-static \
- --with-openssl \
- --with-tpm2
+ --disable-static \
+ --with-openssl \
+ --with-tpm2
}
src_install() {