From 7579f07be4fdc9a839705f3aa4144e9ba94d8c9d Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sun, 14 May 2023 19:18:03 +0200 Subject: [PATCH] editors/hexcurse: Unbreak on HEAD - Adopt port - Pet portclippy --- editors/hexcurse/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile index 64c4e85456da7..d1d068223dce4 100644 --- a/editors/hexcurse/Makefile +++ b/editors/hexcurse/Makefile @@ -3,7 +3,7 @@ PORTVERSION= 1.60.0 DISTVERSIONPREFIX= v CATEGORIES= editors -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Versatile ncurses-based hex editor WWW= https://BSDforge.com/projects/editors/hexcurse/ @@ -11,7 +11,6 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= ncurses - USE_GITHUB= yes GH_ACCOUNT= LonnyGomes @@ -19,4 +18,10 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/hexcurse man/man1/hexcurse.1.gz -.include +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=deprecated-non-prototype +.endif + +.include