summaryrefslogtreecommitdiff
path: root/office/mytetra/mytetra-gcc4.7.patch
diff options
context:
space:
mode:
authorAndrey Maraev <andrew.maraev60@yandex.ru>2012-09-10 22:21:34 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 22:21:34 -0500
commit52b0c31ba866948fcfb18c3a3edfe28ca4c57864 (patch)
treec9c218e6407f19b54d8c861d9e882da69476e7a1 /office/mytetra/mytetra-gcc4.7.patch
parent4c080ce3974eb7ec29caf5c7d43658fe9e784163 (diff)
downloadslackbuilds-52b0c31ba866948fcfb18c3a3edfe28ca4c57864.tar.gz
office/mytetra: Patched to build with gcc47
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/mytetra/mytetra-gcc4.7.patch')
-rw-r--r--office/mytetra/mytetra-gcc4.7.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/office/mytetra/mytetra-gcc4.7.patch b/office/mytetra/mytetra-gcc4.7.patch
new file mode 100644
index 0000000000..1662bf5053
--- /dev/null
+++ b/office/mytetra/mytetra-gcc4.7.patch
@@ -0,0 +1,10 @@
+Index: src/qtsingleapplication/qtlocalpeer.cpp
+===================================================================
+--- src/qtsingleapplication/qtlocalpeer.cpp.orig
++++ src/qtsingleapplication/qtlocalpeer.cpp
+@@ -57,6 +57,7 @@ static PProcessIdToSessionId pProcessIdT
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include <time.h>
++#include <unistd.h>
+ #endif