Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2020 06:45:34 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536074 - head/misc/magicpoint/files
Message-ID:  <202005210645.04L6jYFA044030@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Thu May 21 06:45:34 2020
New Revision: 536074
URL: https://svnweb.freebsd.org/changeset/ports/536074

Log:
  - fix build with -fno-common

Modified:
  head/misc/magicpoint/files/patch-grammar.y

Modified: head/misc/magicpoint/files/patch-grammar.y
==============================================================================
--- head/misc/magicpoint/files/patch-grammar.y	Thu May 21 06:19:49 2020	(r536073)
+++ head/misc/magicpoint/files/patch-grammar.y	Thu May 21 06:45:34 2020	(r536074)
@@ -1,6 +1,6 @@
 --- grammar.y.orig	2008-01-18 17:43:20 UTC
 +++ grammar.y
-@@ -70,6 +70,8 @@
+@@ -70,10 +70,12 @@
  static struct qual qerr = { Q_UNDEF, Q_UNDEF, Q_UNDEF, Q_UNDEF };
  #endif
  
@@ -9,3 +9,8 @@
  int n_errors = 0;
  struct ctrl *root;
  char *yyfilename;
+-int yylineno;
++extern int yylineno;
+ 
+ #ifdef HAVE_STDARG_H
+ /* GCC complains if we declare this function in traditional style */



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