diff options
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; |