ports/databases/sqlitebrowser/files/patch-src_grammar_Sqlite3Lexer.hpp
Mark Linimon 5856cd080b This port needs USES=compiler:c++11-lang and #include <strings.h> in
src/grammar/Sqlite3Lexer.hpp to build on GCC-based architectures.

While here, add USES=gnome.

PR:		234206
Submitted by:	Piotr Kubaj
Approved by:	maintainer
2018-12-23 17:07:47 +00:00

10 lines
371 B
C++

--- src/grammar/Sqlite3Lexer.hpp.orig 2018-12-19 22:04:37 UTC
+++ src/grammar/Sqlite3Lexer.hpp
@@ -7,6 +7,7 @@
#include <antlr/InputBuffer.hpp>
#include <antlr/BitSet.hpp>
#include "sqlite3TokenTypes.hpp"
+#include <strings.h>
#include <antlr/CharScanner.hpp>
class CUSTOM_API Sqlite3Lexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public sqlite3TokenTypes
{