components/antlr/patches/antlr-2.7.7-newgcc.patch
author Shawn Walker-Salas <shawn.walker@oracle.com>
Tue, 12 Jan 2016 14:17:49 -0800
changeset 5260 e336bbbceb4f
parent 1035 ffa1c1456e97
permissions -rw-r--r--
PSARC/2015/517 EOF of clisp 22249578 EOF of clisp
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1035
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
diff -up ./lib/cpp/antlr/CharScanner.hpp.sav ./lib/cpp/antlr/CharScanner.hpp
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
--- ./lib/cpp/antlr/CharScanner.hpp.sav	2009-03-20 14:42:43.000000000 -0400
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
+++ ./lib/cpp/antlr/CharScanner.hpp	2009-03-20 14:43:29.000000000 -0400
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
@@ -11,6 +11,8 @@
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
 #include <antlr/config.hpp>
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
 
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
 #include <map>
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
+#include <strings.h>
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
+#include <cstdio>
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
 #ifdef HAS_NOT_CCTYPE_H
ffa1c1456e97 7204867 Move antlr from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 #include <ctype.h>