Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 11:40:41 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549681 - in head/lang/mmix: . files
Message-ID:  <202009231140.08NBefZx043226@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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? */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009231140.08NBefZx043226>