summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/keepassx/files/patch-src__lib__AutoTypeX11.cpp10
-rw-r--r--security/keepassx/files/patch-src__lib__random.cpp10
2 files changed, 20 insertions, 0 deletions
diff --git a/security/keepassx/files/patch-src__lib__AutoTypeX11.cpp b/security/keepassx/files/patch-src__lib__AutoTypeX11.cpp
new file mode 100644
index 000000000000..3423ea74d614
--- /dev/null
+++ b/security/keepassx/files/patch-src__lib__AutoTypeX11.cpp
@@ -0,0 +1,10 @@
+--- ./src/lib/AutoTypeX11.cpp.orig 2009-09-13 14:43:10.000000000 +0000
++++ ./src/lib/AutoTypeX11.cpp 2013-09-21 15:37:54.600146755 +0000
+@@ -23,6 +23,7 @@
+ #include "mainwindow.h"
+ #include "lib/HelperX11.h"
+ #include <QX11Info>
++#include <time.h>
+
+ #ifndef GLOBAL_AUTOTYPE
+ AutoType* autoType = NULL;
diff --git a/security/keepassx/files/patch-src__lib__random.cpp b/security/keepassx/files/patch-src__lib__random.cpp
new file mode 100644
index 000000000000..a33ae854030b
--- /dev/null
+++ b/security/keepassx/files/patch-src__lib__random.cpp
@@ -0,0 +1,10 @@
+--- ./src/lib/random.cpp.orig 2009-06-28 14:22:31.000000000 +0000
++++ ./src/lib/random.cpp 2013-09-21 15:37:54.599146989 +0000
+@@ -19,6 +19,7 @@
+ ***************************************************************************/
+
+ #include "random.h"
++#include <unistd.h>
+
+
+ #if defined(Q_WS_X11) || defined(Q_WS_MAC)