svn commit: r549681 - in head/lang/mmix: . files
Stefan Eßer
se at FreeBSD.org
Wed Sep 23 11:40:41 UTC 2020
Author: se
Date: Wed Sep 23 11:40:41 2020
New Revision: 549681
URL: https://svnweb.freebsd.org/changeset/ports/549681
Log:
Fix build with -fno-common
Added:
head/lang/mmix/files/patch-mmix-config.w (contents, props changed)
Modified:
head/lang/mmix/Makefile
Modified: head/lang/mmix/Makefile
==============================================================================
--- head/lang/mmix/Makefile Wed Sep 23 11:40:21 2020 (r549680)
+++ head/lang/mmix/Makefile Wed Sep 23 11:40:41 2020 (r549681)
@@ -3,6 +3,7 @@
PORTNAME= mmix
PORTVERSION= 20160804
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://mmix.cs.hm.edu/src/
Added: head/lang/mmix/files/patch-mmix-config.w
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/mmix/files/patch-mmix-config.w Wed Sep 23 11:40:41 2020 (r549681)
@@ -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? */
More information about the svn-ports-head
mailing list