aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-02 20:15:03 +0800
committermarino <marino@FreeBSD.org>2013-10-02 20:15:03 +0800
commita043a04f2f60a7ed8327d53e0575d79f230fc16b (patch)
tree747c35c545f8b4ff42e8af0664e60c36dd7117f4 /security
parent46cedd23675d328c257b7d74476256752cbaa238 (diff)
downloadfreebsd-ports-gnome-a043a04f2f60a7ed8327d53e0575d79f230fc16b.tar.gz
freebsd-ports-gnome-a043a04f2f60a7ed8327d53e0575d79f230fc16b.tar.zst
freebsd-ports-gnome-a043a04f2f60a7ed8327d53e0575d79f230fc16b.zip
security/keepassx: add <unistd.h> for modern compilers
Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'security')
-rw-r--r--security/keepassx/files/patch-src_lib_random.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/keepassx/files/patch-src_lib_random.cpp b/security/keepassx/files/patch-src_lib_random.cpp
new file mode 100644
index 000000000000..c9fe3aa16d25
--- /dev/null
+++ b/security/keepassx/files/patch-src_lib_random.cpp
@@ -0,0 +1,10 @@
+--- src/lib/random.cpp.orig 2009-06-28 14:22:31.000000000 +0000
++++ src/lib/random.cpp
+@@ -29,6 +29,7 @@
+ #include <QSysInfo>
+ #endif
+
++#include <unistd.h>
+ #include <QCryptographicHash>
+ #include <QCursor>
+ #include <QDataStream>