svn commit: r414146 - head/textproc/opentoken/files

John Marino marino at FreeBSD.org
Wed Apr 27 22:47:23 UTC 2016


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;


More information about the svn-ports-all mailing list