1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 11:40:31 -04:00
ports/devel/antlr/files/patch-lib_cpp_antlr_CharScanner.hpp
Mark Linimon c8bd572bbd Add patch to fix build with ports GCC (the port builds with base GCC,
but not with GCC 8 from ports).

PR:		234204
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2018-12-23 17:04:48 +00:00

10 lines
302 B
C++

--- lib/cpp/antlr/CharScanner.hpp.orig 2018-12-19 22:22:30 UTC
+++ lib/cpp/antlr/CharScanner.hpp
@@ -31,6 +31,7 @@
#include <antlr/InputBuffer.hpp>
#include <antlr/BitSet.hpp>
#include <antlr/LexerSharedInputState.hpp>
+#include <strings.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr {