diff options
author | petef <petef@FreeBSD.org> | 2004-01-05 07:42:04 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2004-01-05 07:42:04 +0800 |
commit | 9fbfd7693cae3c4b349f1dec01c0b3fe85727c99 (patch) | |
tree | e010341b0cafb3b55c7ea74830e04512ea63fe1e /editors | |
parent | 2245f37a4a6f640931655af60b3c8b31d2f2ada8 (diff) | |
download | freebsd-ports-gnome-9fbfd7693cae3c4b349f1dec01c0b3fe85727c99.tar.gz freebsd-ports-gnome-9fbfd7693cae3c4b349f1dec01c0b3fe85727c99.tar.zst freebsd-ports-gnome-9fbfd7693cae3c4b349f1dec01c0b3fe85727c99.zip |
Since we prefix the binary names with "pn", we need this patch so
'pnview' sets the 'readonly' flag by default.
PR: 59088
Diffstat (limited to 'editors')
-rw-r--r-- | editors/nvi-perl/Makefile | 2 | ||||
-rw-r--r-- | editors/nvi-perl/files/patch-common::main.c | 12 |
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; + |