www/gopherus: Adopt/Update to 1.2.2

ChangeLog:
https://sourceforge.net/p/gopherus/code/HEAD/tree/tags/gopherus-1.2.2/history.txt
This commit is contained in:
Nuno Teixeira 2022-11-16 14:11:41 +00:00
parent d83083602e
commit fce349e48b
3 changed files with 5 additions and 25 deletions

View File

@ -1,9 +1,9 @@
PORTNAME= gopherus
DISTVERSION= 1.2.1
DISTVERSION= 1.2.2
CATEGORIES= www
MASTER_SITES= SF/gopherus/v${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Classic text interface to the gopherspace
WWW= http://gopherus.sourceforge.net/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1589023983
SHA256 (gopherus-1.2.1.tar.xz) = 510f71591ae2f40c55bfff47f3c215c75d85acf45184e752a381df6a6c64787b
SIZE (gopherus-1.2.1.tar.xz) = 1377952
TIMESTAMP = 1668607383
SHA256 (gopherus-1.2.2.tar.xz) = ee5ffb64ae4a43f576626d3649b734a801a8bf7e8fe0fd21556cc8cdb4338a9a
SIZE (gopherus-1.2.2.tar.xz) = 320688

View File

@ -1,20 +0,0 @@
--- ui/ui-curse.c.orig 2020-01-22 17:13:40 UTC
+++ ui/ui-curse.c
@@ -10,7 +10,7 @@
#define _XOPEN_SOURCE_EXTENDED
#include <locale.h>
-#include <ncursesw/curses.h>
+#include <curses.h>
#include <stdio.h> /* this one contains the NULL definition */
#include <string.h>
@@ -149,7 +149,7 @@ int ui_getkey(void) {
case KEY_RIGHT: return(0x14D);
case KEY_UP: return(0x148);
case KEY_DOWN: return(0x150);
- case KEY_BACKSPACE: return(8);
+ case KEY_BACKSPACE: case 127: return(8);
case KEY_ENTER: return(13);
case KEY_PPAGE: return(0x149); /* PAGEUP */
case KEY_NPAGE: return(0x151); /* PGDOWN */