diff options
Diffstat (limited to 'pkgs/development/tools/parsing/antlr/2.7.7-fixes.patch')
-rw-r--r-- | pkgs/development/tools/parsing/antlr/2.7.7-fixes.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/antlr/2.7.7-fixes.patch b/pkgs/development/tools/parsing/antlr/2.7.7-fixes.patch new file mode 100644 index 00000000000..a71b7718e3b --- /dev/null +++ b/pkgs/development/tools/parsing/antlr/2.7.7-fixes.patch @@ -0,0 +1,26 @@ +diff --git a/lib/cpp/antlr/CharScanner.hpp b/lib/cpp/antlr/CharScanner.hpp +index 8a97e97..1835a3e 100644 +--- a/lib/cpp/antlr/CharScanner.hpp ++++ b/lib/cpp/antlr/CharScanner.hpp +@@ -11,6 +11,8 @@ + #include <antlr/config.hpp> + + #include <map> ++#include <cstdio> ++#include <cstring> + + #ifdef HAS_NOT_CCTYPE_H + #include <ctype.h> +diff --git a/scripts/config.make.in b/scripts/config.make.in +index c23dd5c..6057309 100644 +--- a/scripts/config.make.in ++++ b/scripts/config.make.in +@@ -38,7 +38,7 @@ MAKEOVERRIDES := $(patsubst SUBDIRS=%,,$(MAKEOVERRIDES)) + all clean distclean test install force-target clean-target :: + @dirs="$(SUBDIRS)" ; \ + test -z "$${dirs}" && { \ +- dirs=`/bin/ls` ; \ ++ dirs=`ls` ; \ + } ; \ + for d in . $${dirs} ; do \ + case $${d} in \ |