diff options
author | Salah Coronya <salah.coronya@gmail.com> | 2020-09-24 14:28:15 -0500 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-08 09:48:32 +0300 |
commit | e6ddcb72a8738fc10d1cbf3812d4764bbe2db009 (patch) | |
tree | f3d8054d53382846b821ec6e75aa161fcc1b4600 /dev-libs/libtpms | |
parent | app-crypt/tpm2-pkcs11: fix PATCHES indentation (diff) | |
download | gentoo-e6ddcb72a8738fc10d1cbf3812d4764bbe2db009.tar.gz gentoo-e6ddcb72a8738fc10d1cbf3812d4764bbe2db009.tar.bz2 gentoo-e6ddcb72a8738fc10d1cbf3812d4764bbe2db009.zip |
dev-libs/libtpms: Remove -WError
Closes: https://bugs.gentoo.org/744445
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Salah Coronya <salah.coronya@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17654
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/libtpms')
-rw-r--r-- | dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch | 13 | ||||
-rw-r--r-- | dev-libs/libtpms/libtpms-0.7.3.ebuild | 4 |
2 files changed, 17 insertions, 0 deletions
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.3.ebuild index 1daf31882dc5..ad9f41f5b8ae 100644 --- a/dev-libs/libtpms/libtpms-0.7.3.ebuild +++ b/dev-libs/libtpms/libtpms-0.7.3.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 |