tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
fix keepassx under gcc 4.8
Aristid Breitkreuz
12 years ago
5acc2fef
a34d00f3
+15
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
keepassx
default.nix
random.patch
+2
pkgs/applications/misc/keepassx/default.nix
···
12
12
qmake PREFIX=$out
13
13
'';
14
14
15
15
+
patches = [ ./random.patch ];
16
16
+
15
17
buildInputs = [ bzip2 qt4 libX11 xextproto libXtst ];
16
18
17
19
meta = {
+13
pkgs/applications/misc/keepassx/random.patch
···
1
1
+
--- a/src/lib/random.cpp 2014-01-21 21:15:55.829312723 +0000
2
2
+
+++ b/src/lib/random.cpp 2014-01-21 21:16:36.752535839 +0000
3
3
+
@@ -28,6 +28,10 @@
4
4
+
#include <wincrypt.h>
5
5
+
#include <QSysInfo>
6
6
+
#endif
7
7
+
+#ifndef Q_WS_WIN
8
8
+
+ #include <sys/types.h>
9
9
+
+ #include <unistd.h>
10
10
+
+#endif
11
11
+
12
12
+
#include <QCryptographicHash>
13
13
+
#include <QCursor>