Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2016 22:47:22 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414146 - head/textproc/opentoken/files
Message-ID:  <201604272247.u3RMlMUo070132@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Apr 27 22:47:22 2016
New Revision: 414146
URL: https://svnweb.freebsd.org/changeset/ports/414146

Log:
  textproc/opentoken: Fix build with gcc6-aux
  
  Submitted by:	upstream maintainer (Stephen Leake)

Added:
  head/textproc/opentoken/files/patch-opentoken-production-parser-lalr-parser__lists.adb   (contents, props changed)

Added: head/textproc/opentoken/files/patch-opentoken-production-parser-lalr-parser__lists.adb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/opentoken/files/patch-opentoken-production-parser-lalr-parser__lists.adb	Wed Apr 27 22:47:22 2016	(r414146)
@@ -0,0 +1,12 @@
+--- opentoken-production-parser-lalr-parser_lists.adb.orig	2015-05-10 19:22:40 UTC
++++ opentoken-production-parser-lalr-parser_lists.adb
+@@ -484,7 +484,8 @@ package body OpenToken.Production.Parser
+    is
+       pragma Unreferenced (Container);
+    begin
+-      return (Element => Position.Item'Access);
++      --  WORKAROUND: gcc 6 reports an error for 'Access here; this passes all tests
++      return (Element => Position.Item'Unrestricted_Access);
+    end Constant_Reference;
+ 
+    type List_Access_Constant is access constant List;



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