Fix build with -fno-common
This commit is contained in:
parent
243f975a08
commit
c5c6d2fac3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549681
2 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= mmix
|
||||
PORTVERSION= 20160804
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= http://mmix.cs.hm.edu/src/
|
||||
|
||||
|
|
11
lang/mmix/files/patch-mmix-config.w
Normal file
11
lang/mmix/files/patch-mmix-config.w
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- mmix-config.w.orig 2014-11-20 17:38:57 UTC
|
||||
+++ mmix-config.w
|
||||
@@ -357,7 +357,7 @@ print error messages.
|
||||
|
||||
@<Global variables@>=
|
||||
FILE *config_file; /* input comes from here */
|
||||
-char buffer[BUF_SIZE]; /* input lines go here */
|
||||
+extern char buffer[BUF_SIZE]; /* input lines go here */
|
||||
char token[BUF_SIZE]; /* and tokens are copied to here */
|
||||
char *buf_pointer=buffer; /* this is our current position */
|
||||
bool token_prescanned; /* does |token| contain the next token already? */
|
Loading…
Reference in a new issue