diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2016-07-29 12:13:24 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2016-07-29 12:13:24 +0300 |
commit | 2dd6f0f1fb2cd2597d6ee9ea005cadb9d282bc23 (patch) | |
tree | bfe988f1c39d073af883f9adba7996ff6028da27 /dev-libs/libtasn1 | |
parent | net-analyzer/nmap: Detect EC support in dev-libs/openssl (bug #589658). (diff) | |
download | gentoo-2dd6f0f1fb2cd2597d6ee9ea005cadb9d282bc23.tar.gz gentoo-2dd6f0f1fb2cd2597d6ee9ea005cadb9d282bc23.tar.bz2 gentoo-2dd6f0f1fb2cd2597d6ee9ea005cadb9d282bc23.zip |
dev-libs/libtasn1: remove -Werror
Bug: 589868
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-libs/libtasn1')
-rw-r--r-- | dev-libs/libtasn1/files/libtasn1-4.9-build.patch | 25 | ||||
-rw-r--r-- | dev-libs/libtasn1/libtasn1-4.9.ebuild | 3 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/libtasn1/files/libtasn1-4.9-build.patch b/dev-libs/libtasn1/files/libtasn1-4.9-build.patch new file mode 100644 index 000000000000..d096955bb9f5 --- /dev/null +++ b/dev-libs/libtasn1/files/libtasn1-4.9-build.patch @@ -0,0 +1,25 @@ +From dd091c8af163213e12aa92f61bc4916e0f102633 Mon Sep 17 00:00:00 2001 +From: Nikos Mavrogiannopoulos <nmav@redhat.com> +Date: Tue, 26 Jul 2016 08:45:33 +0200 +Subject: [PATCH] configure: don't add -Werror to build flags + +--- + configure.ac | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7a14e04..066f5fe 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -70,8 +70,6 @@ AC_ARG_ENABLE([gcc-warnings], + ) + + if test "$gl_gcc_warnings" = yes; then +- gl_WARN_ADD([-Werror], [WERROR_CFLAGS]) +- + nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings + nw="$nw -Wc++-compat" # We don't care strongly about C++ compilers + nw="$nw -Wtraditional" # Warns on #elif which we use often +-- +2.7.3 + diff --git a/dev-libs/libtasn1/libtasn1-4.9.ebuild b/dev-libs/libtasn1/libtasn1-4.9.ebuild index 3bd2816a5c75..e227f890572a 100644 --- a/dev-libs/libtasn1/libtasn1-4.9.ebuild +++ b/dev-libs/libtasn1/libtasn1-4.9.ebuild @@ -24,6 +24,9 @@ RDEPEND=" !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) DOCS=( AUTHORS ChangeLog NEWS README THANKS ) multilib_src_configure() { |