summaryrefslogtreecommitdiff
path: root/security/keepassx
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-24 13:37:22 +0000
committerjoerg <joerg>2011-11-24 13:37:22 +0000
commitf95e08a140316f750458ca97fdc3cc477d8aa805 (patch)
tree7440dd376b664d304551a87bc5b4b7e5a83f7682 /security/keepassx
parent43ebf5c73ec6f09134283fb6a4a140eedf4c86bd (diff)
downloadpkgsrc-f95e08a140316f750458ca97fdc3cc477d8aa805.tar.gz
Fix build with newer GCC
Diffstat (limited to 'security/keepassx')
-rw-r--r--security/keepassx/distinfo4
-rw-r--r--security/keepassx/patches/patch-src_crypto_twofish.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 2b27eabe8fc..5609500344b 100644
--- a/security/keepassx/distinfo
+++ b/security/keepassx/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/10/21 13:51:01 adrianp Exp $
+$NetBSD: distinfo,v 1.2 2011/11/24 13:37:22 joerg Exp $
SHA1 (KeePassX-0.2.2.tar.gz) = bae4b984d32f2bb6220d17a135e3322c4df73fcb
RMD160 (KeePassX-0.2.2.tar.gz) = ba386cca105227120c0c50a500eee3b2b2bf24ec
Size (KeePassX-0.2.2.tar.gz) = 302656 bytes
+SHA1 (patch-src_crypto_twofish.cpp) = 7bd41b67c0df56be41a9579d09c5d8d765b97353
+SHA1 (patch-src_lib_random.cpp) = 802b128fcc9c4805e1061246a2c9e9aeb420dbe8
diff --git a/security/keepassx/patches/patch-src_crypto_twofish.cpp b/security/keepassx/patches/patch-src_crypto_twofish.cpp
new file mode 100644
index 00000000000..a00b2a3bbf1
--- /dev/null
+++ b/security/keepassx/patches/patch-src_crypto_twofish.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_crypto_twofish.cpp,v 1.1 2011/11/24 13:37:22 joerg Exp $
+
+--- src/crypto/twofish.cpp.orig 2011-11-24 01:43:03.000000000 +0000
++++ src/crypto/twofish.cpp
+@@ -171,6 +171,7 @@
+ * Standard include files will probably be ok.
+ */
+
++#include <stdlib.h>
+ #include <qstring.h> /* for memset(), memcpy(), and memcmp() */
+ #include "twofish.h"
+
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..a204c6977de
--- /dev/null
+++ b/security/keepassx/patches/patch-src_lib_random.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_lib_random.cpp,v 1.1 2011/11/24 13:37:22 joerg Exp $
+
+--- src/lib/random.cpp.orig 2011-11-24 01:44:17.000000000 +0000
++++ src/lib/random.cpp
+@@ -21,6 +21,7 @@
+ #include <fstream>
+ #include <qdatetime.h>
+ #include <qobject.h>
++#include <cstdlib>
+ #include "random.h"
+ using namespace std;
+