app-editors/hexcurse: Drop -Werror (bug #627904 by Danny Robson).
authorJeroen Roovers <jer@gentoo.org>
Tue, 15 Aug 2017 06:30:46 +0000 (08:30 +0200)
committerJeroen Roovers <jer@gentoo.org>
Tue, 15 Aug 2017 06:31:36 +0000 (08:31 +0200)
Package-Manager: Portage-2.3.7, Repoman-2.3.3

app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch [new file with mode: 0644]
app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
app-editors/hexcurse/hexcurse-1.60.0.ebuild

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 (file)
index 0000000..457574f
--- /dev/null
@@ -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
index e5e0fe0ac4053c97d45dc8c49ca324f59cae54eb..1933a22bb04475cc86c6eab297fc43d4076be58e 100644 (file)
@@ -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.
index 568f74ebbb88d8cbdcdb635631bf823dc7967325..656648c05e7b0d5244f34e4c118223cf64025cb0 100644 (file)
@@ -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() {