diff options
-rw-r--r-- | app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch | 7 | ||||
-rw-r--r-- | app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch | 4 | ||||
-rw-r--r-- | 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 000000000000..457574f15ac1 --- /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 e5e0fe0ac405..1933a22bb044 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 568f74ebbb88..656648c05e7b 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() { |