diff options
author | John Marino <marino@FreeBSD.org> | 2016-04-27 22:47:22 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-04-27 22:47:22 +0000 |
commit | 72b13c36844751e7c0bd6cd4347b128003846c3e (patch) | |
tree | 7d73715a2a9e381c55c2a17fb25e42da87989b0e /textproc/opentoken | |
parent | ede864a4cdaf7e35998e1cb1a758871de5444421 (diff) |
Notes
Diffstat (limited to 'textproc/opentoken')
-rw-r--r-- | textproc/opentoken/files/patch-opentoken-production-parser-lalr-parser__lists.adb | 12 |
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; |