mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
keepassxc: fix build with qt 5.11 (#42381)
This commit is contained in:
parent
7d7b2de34d
commit
32b2f28e60
@ -47,7 +47,11 @@ stdenv.mkDerivation rec {
|
||||
--replace "/usr/local/share/man" "../share/man"
|
||||
'';
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib";
|
||||
patches = [ ./darwin.patch ];
|
||||
|
||||
patches = [
|
||||
./darwin.patch
|
||||
./qt511.patch
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DKEEPASSXC_BUILD_TYPE=Release"
|
||||
|
15
pkgs/applications/misc/keepassx/qt511.patch
Normal file
15
pkgs/applications/misc/keepassx/qt511.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp
|
||||
index 6fd65c1a..e99275b0 100644
|
||||
--- a/src/gui/entry/EditEntryWidget.cpp
|
||||
+++ b/src/gui/entry/EditEntryWidget.cpp
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <QMenu>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <QTemporaryFile>
|
||||
+#include <QButtonGroup>
|
||||
#include <QMimeData>
|
||||
#include <QEvent>
|
||||
#include <QColorDialog>
|
||||
--
|
||||
2.17.1
|
||||
|
Loading…
Reference in New Issue
Block a user