1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Since we prefix the binary names with "pn", we need this patch so

'pnview' sets the 'readonly' flag by default.

PR:		59088
This commit is contained in:
Pete Fritchman 2004-01-04 23:42:04 +00:00
parent 925b6cacc4
commit 209aee66f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97303
2 changed files with 13 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= nvi
PORTVERSION= 1.79
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= editors
MASTER_SITES= ftp://ftp.sleepycat.com/pub/
PKGNAMESUFFIX= -perl

View File

@ -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;