1
0
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:
Tatsumi Hosokawa 2002-03-29 06:19:14 +00:00
parent 266d45a29b
commit fe4a1f161c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56832

View 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) {