mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
Fix missing format string argument and bump PORTREVISION.
Obtained from: OpenBSD
This commit is contained in:
parent
6c899e1043
commit
ff0000c319
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83709
2 changed files with 12 additions and 5 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= agrep
|
||||
PORTVERSION= 2.04
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ftp://ftp.cs.arizona.edu/agrep/
|
||||
EXTRACT_SUFX= .tar.Z
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- mgrep.c.orig Sat Apr 11 00:12:27 1992
|
||||
+++ mgrep.c Sun Jul 21 03:50:47 2002
|
||||
--- mgrep.c.orig Thu Jun 26 21:03:50 2003
|
||||
+++ mgrep.c Thu Jun 26 21:03:53 2003
|
||||
@@ -1,6 +1,7 @@
|
||||
/* Copyright (c) 1991 Sun Wu and Udi Manber. All Rights Reserved. */
|
||||
/* multipattern matcher */
|
||||
|
@ -11,3 +8,12 @@ $FreeBSD$
|
|||
#include <ctype.h>
|
||||
#define MAXPAT 256
|
||||
#define MAXLINE 1024
|
||||
@@ -85,7 +86,7 @@
|
||||
if(p!=0 && p < p_size) p_size = p;
|
||||
}
|
||||
if(p_size == 0) {
|
||||
- fprintf(stderr, "%s: the pattern file is empty\n");
|
||||
+ fprintf(stderr, "%s: the pattern file is empty\n", Progname);
|
||||
exit(2);
|
||||
}
|
||||
if(length > 400 && p_size > 2) LONG = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue