summaryrefslogtreecommitdiffstats
path: root/multimedia/xvst/gcc-4.7.patch
diff options
context:
space:
mode:
author Larry Hajali <larryhaja[at]gmail[dot]com>2012-07-29 22:23:38 -0500
committer Robby Workman <rworkman@slackbuilds.org>2012-07-29 22:23:38 -0500
commit33decf6c8620210fbaec5378b574d87b24a3d8cb (patch)
tree510765db1145c5845554dc76f37e1af2d4d186fb /multimedia/xvst/gcc-4.7.patch
parent48abb28b1e58f6568992ae05bfb0c6d89b5e99c2 (diff)
downloadslackbuilds-33decf6c8620210fbaec5378b574d87b24a3d8cb.tar.gz
slackbuilds-33decf6c8620210fbaec5378b574d87b24a3d8cb.tar.xz
multimedia/xvst: Fixed to compile against gcc 4.7.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/xvst/gcc-4.7.patch')
-rw-r--r--multimedia/xvst/gcc-4.7.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/xvst/gcc-4.7.patch b/multimedia/xvst/gcc-4.7.patch
new file mode 100644
index 0000000000..735a2d4e50
--- /dev/null
+++ b/multimedia/xvst/gcc-4.7.patch
@@ -0,0 +1,11 @@
+diff -Naur xvst.orig/src/qtsingleapplication/src/qtlocalpeer.cpp xvst/src/qtsingleapplication/src/qtlocalpeer.cpp
+--- xvst.orig/src/qtsingleapplication/src/qtlocalpeer.cpp 2009-10-12 03:43:46.000000000 +0000
++++ xvst/src/qtsingleapplication/src/qtlocalpeer.cpp 2012-07-02 04:24:37.152806791 +0000
+@@ -57,6 +57,7 @@
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include <time.h>
++#include <unistd.h>
+ #endif
+
+ namespace QtLP_Private {