svn commit: r488226 - in head/databases/sqlitebrowser: . files

Mark Linimon linimon at FreeBSD.org
Sun Dec 23 17:07:48 UTC 2018


Author: linimon
Date: Sun Dec 23 17:07:47 2018
New Revision: 488226
URL: https://svnweb.freebsd.org/changeset/ports/488226

Log:
  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

Added:
  head/databases/sqlitebrowser/files/patch-src_grammar_Sqlite3Lexer.hpp   (contents, props changed)
Modified:
  head/databases/sqlitebrowser/Makefile

Modified: head/databases/sqlitebrowser/Makefile
==============================================================================
--- head/databases/sqlitebrowser/Makefile	Sun Dec 23 17:04:48 2018	(r488225)
+++ head/databases/sqlitebrowser/Makefile	Sun Dec 23 17:07:47 2018	(r488226)
@@ -17,7 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${LOCALBASE}/lib/libantlr.a:devel/antlr
 LIB_DEPENDS=	libqscintilla2_qt5.so:devel/qscintilla2-qt5
 
-USES=		cmake desktop-file-utils qt:5 sqlite
+USES=		compiler:c++11-lang cmake desktop-file-utils gnome qt:5 sqlite
 CMAKE_ARGS+=	-DQT_INCLUDE_DIR=${QT_INCDIR} -DQT_LIBRARY_DIR=${QT_LIBDIR}
 USE_QT=		core gui network printsupport testlib widgets \
 		buildtools_build linguisttools_build qmake_build

Added: head/databases/sqlitebrowser/files/patch-src_grammar_Sqlite3Lexer.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/sqlitebrowser/files/patch-src_grammar_Sqlite3Lexer.hpp	Sun Dec 23 17:07:47 2018	(r488226)
@@ -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
+ {


More information about the svn-ports-all mailing list