mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fixed port build error.
This commit is contained in:
parent
266d45a29b
commit
fe4a1f161c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56832
28
converters/ish/files/patch-ab
Normal file
28
converters/ish/files/patch-ab
Normal file
@ -0,0 +1,28 @@
|
||||
--- ish.c.orig Sun Aug 5 20:04:08 1990
|
||||
+++ ish.c Fri Mar 29 15:18:25 2002
|
||||
@@ -48,7 +48,7 @@
|
||||
long lsize;
|
||||
char *filename = "file.ish";
|
||||
|
||||
-FILE *opath = stdout;
|
||||
+FILE *opath = NULL;
|
||||
FILE *ipath;
|
||||
char name[NAMLEN];
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
static int ishargc=0;
|
||||
static char *ishargv[32];
|
||||
|
||||
-void main(argc, argv)
|
||||
+int main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
{
|
||||
@@ -69,6 +69,7 @@
|
||||
char *p;
|
||||
FILE *fopen();
|
||||
|
||||
+ opath = stdout;
|
||||
if (argc < 2)
|
||||
help();
|
||||
while(--argc > 0) {
|
Loading…
Reference in New Issue
Block a user