aboutsummaryrefslogtreecommitdiff
path: root/textproc/opentoken
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-04-27 22:47:22 +0000
committerJohn Marino <marino@FreeBSD.org>2016-04-27 22:47:22 +0000
commit72b13c36844751e7c0bd6cd4347b128003846c3e (patch)
tree7d73715a2a9e381c55c2a17fb25e42da87989b0e /textproc/opentoken
parentede864a4cdaf7e35998e1cb1a758871de5444421 (diff)
downloadports-72b13c36844751e7c0bd6cd4347b128003846c3e.tar.gz
ports-72b13c36844751e7c0bd6cd4347b128003846c3e.zip
textproc/opentoken: Fix build with gcc6-aux
Submitted by: upstream maintainer (Stephen Leake)
Notes
Notes: svn path=/head/; revision=414146
Diffstat (limited to 'textproc/opentoken')
-rw-r--r--textproc/opentoken/files/patch-opentoken-production-parser-lalr-parser__lists.adb12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/opentoken/files/patch-opentoken-production-parser-lalr-parser__lists.adb b/textproc/opentoken/files/patch-opentoken-production-parser-lalr-parser__lists.adb
new file mode 100644
index 000000000000..0c8c4678c883
--- /dev/null
+++ b/textproc/opentoken/files/patch-opentoken-production-parser-lalr-parser__lists.adb
@@ -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;