diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-24 13:37:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-24 13:37:22 +0000 |
commit | 97fab311ea17c97091c039d399f96df3f62d2d2f (patch) | |
tree | 7440dd376b664d304551a87bc5b4b7e5a83f7682 /security/keepassx | |
parent | 87830d8d1dbe3cf87a43a063b8b51540bf98f512 (diff) | |
download | pkgsrc-97fab311ea17c97091c039d399f96df3f62d2d2f.tar.gz |
Fix build with newer GCC
Diffstat (limited to 'security/keepassx')
-rw-r--r-- | security/keepassx/distinfo | 4 | ||||
-rw-r--r-- | security/keepassx/patches/patch-src_crypto_twofish.cpp | 12 | ||||
-rw-r--r-- | security/keepassx/patches/patch-src_lib_random.cpp | 12 |
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; + |