summaryrefslogtreecommitdiff
path: root/databases/sqlitebrowser/files
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-12-23 17:07:47 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-12-23 17:07:47 +0000
commit5856cd080b106272b34f98c8f3d082cd5ad9522b (patch)
tree1d81c5ac4e5e3efc63326f0a0208bf8f6c86542c /databases/sqlitebrowser/files
parentAdd patch to fix build with ports GCC (the port builds with base GCC, (diff)
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
Notes
Notes: svn path=/head/; revision=488226
Diffstat (limited to 'databases/sqlitebrowser/files')
-rw-r--r--databases/sqlitebrowser/files/patch-src_grammar_Sqlite3Lexer.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/sqlitebrowser/files/patch-src_grammar_Sqlite3Lexer.hpp b/databases/sqlitebrowser/files/patch-src_grammar_Sqlite3Lexer.hpp
new file mode 100644
index 000000000000..2fd72c890c09
--- /dev/null
+++ b/databases/sqlitebrowser/files/patch-src_grammar_Sqlite3Lexer.hpp
@@ -0,0 +1,10 @@
+--- 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
+ {