[packages/KeePassX] gcc fixes from fedora

glen glen at pld-linux.org
Sat Sep 29 12:58:05 CEST 2012


commit b08c8c2caa852b97bb9f5f8b08c228f634d84cd5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 29 13:53:19 2012 +0300

    gcc fixes from fedora

 keepassx-0.3.3-gcc43.patch | 11 +++++++++++
 keepassx-0.4.3-gcc47.patch | 11 +++++++++++
 2 files changed, 22 insertions(+)
---
diff --git a/keepassx-0.3.3-gcc43.patch b/keepassx-0.3.3-gcc43.patch
new file mode 100644
index 0000000..f934b89
--- /dev/null
+++ b/keepassx-0.3.3-gcc43.patch
@@ -0,0 +1,11 @@
+diff -up ./src/lib/random.cpp.gcc43 ./src/lib/random.cpp
+--- ./src/lib/random.cpp.gcc43	2008-05-10 11:00:47.000000000 +0200
++++ ./src/lib/random.cpp	2008-08-23 09:28:46.000000000 +0200
+@@ -19,6 +19,7 @@
+  ***************************************************************************/
+ 
+ #include "random.h"
++#include <cstdlib>
+ 
+ 
+ #if defined(Q_WS_X11) || defined(Q_WS_MAC)
diff --git a/keepassx-0.4.3-gcc47.patch b/keepassx-0.4.3-gcc47.patch
new file mode 100644
index 0000000..6593505
--- /dev/null
+++ b/keepassx-0.4.3-gcc47.patch
@@ -0,0 +1,11 @@
+diff -up keepassx-0.4.3/src/lib/random.cpp.gcc47 keepassx-0.4.3/src/lib/random.cpp
+--- keepassx-0.4.3/src/lib/random.cpp.gcc47	2012-03-30 18:17:25.913476536 -0400
++++ keepassx-0.4.3/src/lib/random.cpp	2012-03-30 18:17:33.346409646 -0400
+@@ -20,6 +20,7 @@
+ 
+ #include "random.h"
+ #include <cstdlib>
++#include <unistd.h>
+ 
+ 
+ #if defined(Q_WS_X11) || defined(Q_WS_MAC)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/KeePassX.git/commitdiff/665923e8debb0d7dc89846c17a15acfd0ae480c4



More information about the pld-cvs-commit mailing list