summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-08-15 08:30:46 +0200
committerJeroen Roovers <jer@gentoo.org>2017-08-15 08:31:36 +0200
commit61b3d53e3bfdb1dd02c61ae790cbc29fbfdd918b (patch)
tree0353775f992878b819dabecff09c2a1a849374d8 /app-editors/hexcurse
parentros-meta/navigation: Bump to 1.14.2. (diff)
downloadgentoo-61b3d53e3bfdb1dd02c61ae790cbc29fbfdd918b.tar.gz
gentoo-61b3d53e3bfdb1dd02c61ae790cbc29fbfdd918b.tar.bz2
gentoo-61b3d53e3bfdb1dd02c61ae790cbc29fbfdd918b.zip
app-editors/hexcurse: Drop -Werror (bug #627904 by Danny Robson).
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'app-editors/hexcurse')
-rw-r--r--app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch7
-rw-r--r--app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch4
-rw-r--r--app-editors/hexcurse/hexcurse-1.60.0.ebuild8
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() {