aboutsummaryrefslogtreecommitdiff
path: root/devel/newt
diff options
context:
space:
mode:
Diffstat (limited to 'devel/newt')
-rw-r--r--devel/newt/Makefile2
-rw-r--r--devel/newt/files/patch-newt.c15
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 48136a80b382..2071bca13aca 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= newt
PORTVERSION= 0.51.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL} \
# ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/
diff --git a/devel/newt/files/patch-newt.c b/devel/newt/files/patch-newt.c
new file mode 100644
index 000000000000..bdf88775603e
--- /dev/null
+++ b/devel/newt/files/patch-newt.c
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- newt.c
++++ newt.c
+@@ -94,6 +94,9 @@
+ { "\033[6~", NEWT_KEY_PGDN, NULL },
+ { "\033V", NEWT_KEY_PGUP, "kH" },
+ { "\033v", NEWT_KEY_PGUP, "kH" },
++
++ { "\033[G", NEWT_KEY_PGDN, NULL },
++ { "\033[I", NEWT_KEY_PGUP, NULL },
+
+ { "\033[[A", NEWT_KEY_F1, NULL },
+ { "\033[[B", NEWT_KEY_F2, NULL },