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:
parent
925b6cacc4
commit
209aee66f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97303
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= nvi
|
||||
PORTVERSION= 1.79
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ftp://ftp.sleepycat.com/pub/
|
||||
PKGNAMESUFFIX= -perl
|
||||
|
12
editors/nvi-perl/files/patch-common::main.c
Normal file
12
editors/nvi-perl/files/patch-common::main.c
Normal 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;
|
||||
|
Loading…
Reference in New Issue
Block a user