mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Partially fix build on -current (move initialization of a FILE * from
declaration to main()). This is still broken due to an unzeroed malloc() bug in imake-4
This commit is contained in:
parent
ce4179680e
commit
b37385ed08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68410
11
graphics/xmagv/files/patch-aa
Normal file
11
graphics/xmagv/files/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- error.h.orig Sun Oct 20 03:17:10 2002
|
||||
+++ error.h Sun Oct 20 03:17:15 2002
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifdef PUBLIC
|
||||
char *errname = NULL;
|
||||
int errcode = -1;
|
||||
-FILE *errstream = stderr;
|
||||
+FILE *errstream;
|
||||
#else
|
||||
# define PUBLIC extern
|
||||
extern char *errname;
|
11
graphics/xmagv/files/patch-ab
Normal file
11
graphics/xmagv/files/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- xmagv.c.orig Sun Oct 20 03:17:30 2002
|
||||
+++ xmagv.c Sun Oct 20 03:17:55 2002
|
||||
@@ -1483,6 +1483,8 @@
|
||||
int i, ac;
|
||||
char **av;
|
||||
|
||||
+ errstream = stderr;
|
||||
+
|
||||
argumentc = argc;
|
||||
argumentv = argv;
|
||||
memset(bitmap_fg, 0, sizeof(bitmap_fg));
|
Loading…
Reference in New Issue
Block a user