From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../files/sqlitebrowser-3.7.0-unbundle.patch | 18 ++++++++++++++++ .../files/sqlitebrowser-3.9.1-cmake.patch | 24 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-db/sqlitebrowser/files/sqlitebrowser-3.7.0-unbundle.patch create mode 100644 dev-db/sqlitebrowser/files/sqlitebrowser-3.9.1-cmake.patch (limited to 'dev-db/sqlitebrowser/files') diff --git a/dev-db/sqlitebrowser/files/sqlitebrowser-3.7.0-unbundle.patch b/dev-db/sqlitebrowser/files/sqlitebrowser-3.7.0-unbundle.patch new file mode 100644 index 000000000000..8dbe870f2e87 --- /dev/null +++ b/dev-db/sqlitebrowser/files/sqlitebrowser-3.7.0-unbundle.patch @@ -0,0 +1,18 @@ +--- sqlitebrowser-3.7.0/CMakeLists.txt ++++ sqlitebrowser-3.7.0/CMakeLists.txt +@@ -29,15 +29,9 @@ + find_package(Antlr2) + + set(QHEXEDIT_DIR libs/qhexedit) +-set(QCUSTOMPLOT_DIR libs/qcustomplot-source) + set(QSCINTILLA_DIR libs/qscintilla/Qt4Qt5) + +-if(NOT ANTLR2_FOUND) +- set(ANTLR_DIR libs/antlr-2.7.7) +- add_subdirectory(${ANTLR_DIR}) +-endif() + add_subdirectory(${QHEXEDIT_DIR}) +-add_subdirectory(${QCUSTOMPLOT_DIR}) + add_subdirectory(${QSCINTILLA_DIR}) + + if(USE_QT5) diff --git a/dev-db/sqlitebrowser/files/sqlitebrowser-3.9.1-cmake.patch b/dev-db/sqlitebrowser/files/sqlitebrowser-3.9.1-cmake.patch new file mode 100644 index 000000000000..cf1cde6c9197 --- /dev/null +++ b/dev-db/sqlitebrowser/files/sqlitebrowser-3.9.1-cmake.patch @@ -0,0 +1,24 @@ +From 2563d678681fa6972674b47617015cb2515bd414 Mon Sep 17 00:00:00 2001 +From: Martin Kleusberg +Date: Wed, 12 Oct 2016 23:26:56 +0200 +Subject: [PATCH] Fix cmake file + +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 998c2f4..4c5debd 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 2.8.7) + + set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}") + +-OPTION(USE_QT5 FALSE "Build with qt5") +-OPTION(ENABLE_TESTING FALSE "Enable the unit tests") ++OPTION(USE_QT5 "Build with qt5" OFF) ++OPTION(ENABLE_TESTING "Enable the unit tests" OFF) + + if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE "Release") -- cgit v1.2.3