commit:     61b3d53e3bfdb1dd02c61ae790cbc29fbfdd918b
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 15 06:30:46 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 06:31:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b3d53e

app-editors/hexcurse: Drop -Werror (bug #627904 by Danny Robson).

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch | 7 +++++++
 app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch  | 4 ++--
 app-editors/hexcurse/hexcurse-1.60.0.ebuild             | 8 +++++---
 3 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch 
b/app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch
new file mode 100644
index 00000000000..457574f15ac
--- /dev/null
+++ b/app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch
@@ -0,0 +1,7 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,3 +1,3 @@
+ bin_PROGRAMS = hexcurse 
+-AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Werror -Wextra
++AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Wextra
+ hexcurse_SOURCES = file.c llist.c screen.c hexcurse.c stack.c getopt.c 
acceptch.c color.c

diff --git a/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch 
b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
index e5e0fe0ac40..1933a22bb04 100644
--- a/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
+++ b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
@@ -1,5 +1,5 @@
---- hexcurse-1.60.0/configure.ac
-+++ hexcurse-1.60.0/configure.ac
+--- a/configure.ac
++++ b/configure.ac
 @@ -15,7 +15,9 @@
  
  dnl Checks for libraries.

diff --git a/app-editors/hexcurse/hexcurse-1.60.0.ebuild 
b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
index 568f74ebbb8..656648c05e7 100644
--- a/app-editors/hexcurse/hexcurse-1.60.0.ebuild
+++ b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
@@ -12,13 +12,15 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos"
 
-RDEPEND=">=sys-libs/ncurses-5.2:0="
+RDEPEND="
+       >=sys-libs/ncurses-5.2:0=
+"
 DEPEND="
        ${RDEPEND}
 "
-
 PATCHES=(
-       "${FILESDIR}/${PN}-1.60.0-tinfo.patch"
+       "${FILESDIR}"/${PN}-1.60.0-Werror.patch
+       "${FILESDIR}"/${PN}-1.60.0-tinfo.patch
 )
 
 src_prepare() {

Reply via email to