diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2025-05-02 20:12:52 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-05-02 23:41:48 +0200 |
| commit | 1cf79d34945e903b956b8597419ae0375da5584c (patch) | |
| tree | 268fbcec7ac9b6deac132320a104d3ddec7751b7 /dev-db/sqlitebrowser/files/sqlitebrowser-3.13.1_p20250502-no-git.patch | |
| parent | f5fc7787f23c53312d414b906e894625437290f5 (diff) | |
| download | gentoo-1cf79d34945e903b956b8597419ae0375da5584c.tar.gz gentoo-1cf79d34945e903b956b8597419ae0375da5584c.tar.bz2 gentoo-1cf79d34945e903b956b8597419ae0375da5584c.zip | |
dev-db/sqlitebrowser: add Qt6-based 3.13.1_p20250502
- 3.13.1 is from October '24 and unfit to use as Qt6 version
- gets rid of painful upper version limit on qhexedit, qcustomplot
- unblocks Qt5-based cleanup of the above +x11-libs/qscintilla[qt5]
Bug: https://bugs.gentoo.org/948063
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-db/sqlitebrowser/files/sqlitebrowser-3.13.1_p20250502-no-git.patch')
| -rw-r--r-- | dev-db/sqlitebrowser/files/sqlitebrowser-3.13.1_p20250502-no-git.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-db/sqlitebrowser/files/sqlitebrowser-3.13.1_p20250502-no-git.patch b/dev-db/sqlitebrowser/files/sqlitebrowser-3.13.1_p20250502-no-git.patch new file mode 100644 index 000000000000..305849590ef7 --- /dev/null +++ b/dev-db/sqlitebrowser/files/sqlitebrowser-3.13.1_p20250502-no-git.patch @@ -0,0 +1,41 @@ +From 922026f58bebe01f58d23f0b3369447fc0e17042 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Fri, 2 May 2025 20:23:16 +0200 +Subject: [PATCH] Do not run git if GIT_COMMIT_HASH is already set + +Useful for cutting snapshots. + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + CMakeLists.txt | 15 ++++++++------- + 1 file changed, 8 insertions(+), 7 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0e7610c3..869b3811 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -37,13 +37,14 @@ set_target_properties(${PROJECT_NAME} PROPERTIES + MACOSX_BUNDLE ON + ) + +-execute_process( +- COMMAND git -C ${CMAKE_CURRENT_SOURCE_DIR} rev-parse --short --verify HEAD +- OUTPUT_VARIABLE GIT_COMMIT_HASH +- OUTPUT_STRIP_TRAILING_WHITESPACE +- ERROR_QUIET +-) +- ++if (NOT GIT_COMMIT_HASH) ++ execute_process( ++ COMMAND git -C ${CMAKE_CURRENT_SOURCE_DIR} rev-parse --short --verify HEAD ++ OUTPUT_VARIABLE GIT_COMMIT_HASH ++ OUTPUT_STRIP_TRAILING_WHITESPACE ++ ERROR_QUIET ++ ) ++endif() + if (GIT_COMMIT_HASH STREQUAL "") + MESSAGE(WARNING "Could not determine git commit hash") + set(GIT_COMMIT_HASH "Unknown") +-- +2.49.0 + |
