summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-04 12:59:45 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-04 12:59:45 +0000
commit60d1e1be247c550f5aabec51b492bed1218721b1 (patch)
tree9cbfc1fe003470fab96bf2cf0fa419937d4ce84e /security
parent3473e129f50d5f97b86712e8b70acf80233e296a (diff)
downloadpkgsrc-60d1e1be247c550f5aabec51b492bed1218721b1.tar.gz
Add a bunch of missing includes hidden by libstdc++ namespace pollution.
Diffstat (limited to 'security')
-rw-r--r--security/keepassx/distinfo4
-rw-r--r--security/keepassx/patches/patch-src_lib_AutoTypeX11.cpp12
-rw-r--r--security/keepassx/patches/patch-src_lib_random.cpp12
3 files changed, 27 insertions, 1 deletions
diff --git a/security/keepassx/distinfo b/security/keepassx/distinfo
index 5be9cce1302..15dfcdf58f2 100644
--- a/security/keepassx/distinfo
+++ b/security/keepassx/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.4 2012/10/28 02:00:50 markd Exp $
+$NetBSD: distinfo,v 1.5 2013/05/04 12:59:48 joerg Exp $
SHA1 (keepassx-0.4.3.tar.gz) = d25ecc9d3caaa5a6d0f39a42c730a95997f37e2e
RMD160 (keepassx-0.4.3.tar.gz) = 3e963d82dd6b8bc32e32dbb46efa9168bac1088b
Size (keepassx-0.4.3.tar.gz) = 1368766 bytes
+SHA1 (patch-src_lib_AutoTypeX11.cpp) = 00c112837d50cf01fc4fc7f76865e5407c90e901
+SHA1 (patch-src_lib_random.cpp) = 01cc7569a75bc3af8326f0903881c16d96d51551
diff --git a/security/keepassx/patches/patch-src_lib_AutoTypeX11.cpp b/security/keepassx/patches/patch-src_lib_AutoTypeX11.cpp
new file mode 100644
index 00000000000..dcff27712a6
--- /dev/null
+++ b/security/keepassx/patches/patch-src_lib_AutoTypeX11.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_lib_AutoTypeX11.cpp,v 1.1 2013/05/04 12:59:48 joerg Exp $
+
+--- src/lib/AutoTypeX11.cpp.orig 2013-05-04 00:34:27.000000000 +0000
++++ src/lib/AutoTypeX11.cpp
+@@ -23,6 +23,7 @@
+ #include "mainwindow.h"
+ #include "lib/HelperX11.h"
+ #include <QX11Info>
++#include <ctime>
+
+ #ifndef GLOBAL_AUTOTYPE
+ AutoType* autoType = NULL;
diff --git a/security/keepassx/patches/patch-src_lib_random.cpp b/security/keepassx/patches/patch-src_lib_random.cpp
new file mode 100644
index 00000000000..ae07b0beb68
--- /dev/null
+++ b/security/keepassx/patches/patch-src_lib_random.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_lib_random.cpp,v 1.3 2013/05/04 12:59:48 joerg Exp $
+
+--- src/lib/random.cpp.orig 2013-05-04 00:33:31.000000000 +0000
++++ src/lib/random.cpp
+@@ -23,6 +23,7 @@
+
+ #if defined(Q_WS_X11) || defined(Q_WS_MAC)
+ #include <QFile>
++ #include <unistd.h>
+ #elif defined(Q_WS_WIN)
+ #include <windows.h>
+ #include <wincrypt.h>