summaryrefslogtreecommitdiff
path: root/office/keepassx/keepassx-0.4.3-gcc47.patch
diff options
context:
space:
mode:
authorАртур Курков <lonewulfster@gmail.com>2012-08-10 22:35:27 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-10 22:35:27 -0500
commitc9be4913c88c749f8f407fba31e3d2f30688c888 (patch)
treec2cc0af15217829e7c6dd93f1eeef6854ea903dc /office/keepassx/keepassx-0.4.3-gcc47.patch
parent8cf6f4066d17cd4a2703fe985d2fd11e95d2f411 (diff)
downloadslackbuilds-c9be4913c88c749f8f407fba31e3d2f30688c888.tar.gz
office/keepassx: Fix build with gcc47
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/keepassx/keepassx-0.4.3-gcc47.patch')
-rw-r--r--office/keepassx/keepassx-0.4.3-gcc47.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/office/keepassx/keepassx-0.4.3-gcc47.patch b/office/keepassx/keepassx-0.4.3-gcc47.patch
new file mode 100644
index 0000000000..9e26e5a0a5
--- /dev/null
+++ b/office/keepassx/keepassx-0.4.3-gcc47.patch
@@ -0,0 +1,12 @@
+diff --git a/src/lib/random.cpp b/src/lib/random.cpp
+index 1007172..f12dd1c 100644
+--- a/src/lib/random.cpp
++++ b/src/lib/random.cpp
+@@ -19,6 +19,7 @@
+ ***************************************************************************/
+
+ #include "random.h"
++#include <unistd.h>
+
+
+ #if defined(Q_WS_X11) || defined(Q_WS_MAC)