Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtasn1/files/, dev-libs/libtasn1/
Date: Fri, 29 Jul 2016 09:13:53
Message-Id: 1469783604.2dd6f0f1fb2cd2597d6ee9ea005cadb9d282bc23.alonbl@gentoo
1 commit: 2dd6f0f1fb2cd2597d6ee9ea005cadb9d282bc23
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 29 09:13:24 2016 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 29 09:13:24 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd6f0f1
7
8 dev-libs/libtasn1: remove -Werror
9
10 Bug: 589868
11
12 Package-Manager: portage-2.2.28
13
14 dev-libs/libtasn1/files/libtasn1-4.9-build.patch | 25 ++++++++++++++++++++++++
15 dev-libs/libtasn1/libtasn1-4.9.ebuild | 3 +++
16 2 files changed, 28 insertions(+)
17
18 diff --git a/dev-libs/libtasn1/files/libtasn1-4.9-build.patch b/dev-libs/libtasn1/files/libtasn1-4.9-build.patch
19 new file mode 100644
20 index 0000000..d096955
21 --- /dev/null
22 +++ b/dev-libs/libtasn1/files/libtasn1-4.9-build.patch
23 @@ -0,0 +1,25 @@
24 +From dd091c8af163213e12aa92f61bc4916e0f102633 Mon Sep 17 00:00:00 2001
25 +From: Nikos Mavrogiannopoulos <nmav@××××××.com>
26 +Date: Tue, 26 Jul 2016 08:45:33 +0200
27 +Subject: [PATCH] configure: don't add -Werror to build flags
28 +
29 +---
30 + configure.ac | 2 --
31 + 1 file changed, 2 deletions(-)
32 +
33 +diff --git a/configure.ac b/configure.ac
34 +index 7a14e04..066f5fe 100644
35 +--- a/configure.ac
36 ++++ b/configure.ac
37 +@@ -70,8 +70,6 @@ AC_ARG_ENABLE([gcc-warnings],
38 + )
39 +
40 + if test "$gl_gcc_warnings" = yes; then
41 +- gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
42 +-
43 + nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings
44 + nw="$nw -Wc++-compat" # We don't care strongly about C++ compilers
45 + nw="$nw -Wtraditional" # Warns on #elif which we use often
46 +--
47 +2.7.3
48 +
49
50 diff --git a/dev-libs/libtasn1/libtasn1-4.9.ebuild b/dev-libs/libtasn1/libtasn1-4.9.ebuild
51 index 3bd2816..e227f89 100644
52 --- a/dev-libs/libtasn1/libtasn1-4.9.ebuild
53 +++ b/dev-libs/libtasn1/libtasn1-4.9.ebuild
54 @@ -24,6 +24,9 @@ RDEPEND="
55 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
56 )"
57
58 +PATCHES=(
59 + "${FILESDIR}/${P}-build.patch"
60 +)
61 DOCS=( AUTHORS ChangeLog NEWS README THANKS )
62
63 multilib_src_configure() {