aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/nvi-perl/Makefile2
-rw-r--r--editors/nvi-perl/files/patch-common::main.c12
2 files changed, 13 insertions, 1 deletions
diff --git a/editors/nvi-perl/Makefile b/editors/nvi-perl/Makefile
index 9866863391a8..697baafb846b 100644
--- a/editors/nvi-perl/Makefile
+++ b/editors/nvi-perl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nvi
PORTVERSION= 1.79
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= editors
MASTER_SITES= ftp://ftp.sleepycat.com/pub/
PKGNAMESUFFIX= -perl
diff --git a/editors/nvi-perl/files/patch-common::main.c b/editors/nvi-perl/files/patch-common::main.c
new file mode 100644
index 000000000000..d4f36332e8d1
--- /dev/null
+++ b/editors/nvi-perl/files/patch-common::main.c
@@ -0,0 +1,12 @@
+$FreeBSD$
+
+--- common/main.c.orig Sun Jan 4 17:35:52 2004
++++ common/main.c Sun Jan 4 17:36:09 2004
+@@ -93,6 +93,7 @@
+ else {
+ /* Nview, view are readonly. */
+ if (!strcmp(gp->progname, "nview") ||
++ !strcmp(gp->progname, "pnview") ||
+ !strcmp(gp->progname, "view"))
+ readonly = 1;
+