aboutsummaryrefslogtreecommitdiff
path: root/office/texstudio/gcc-4.7.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-08-01 09:01:21 -0300
committerRobby Workman <rworkman@slackbuilds.org>2012-08-14 22:30:33 -0500
commitc79a84612163d7ea0ca0537e6daaccaddc056f3d (patch)
treee5d91284e6ee2c2287e1b4747544c0225939c9d2 /office/texstudio/gcc-4.7.patch
parent2f8fed5d82b45a6616db005f45ed2769b4b4a21c (diff)
office/texstudio: Patched for gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/texstudio/gcc-4.7.patch')
-rw-r--r--office/texstudio/gcc-4.7.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/office/texstudio/gcc-4.7.patch b/office/texstudio/gcc-4.7.patch
new file mode 100644
index 000000000000..5a9bafafb139
--- /dev/null
+++ b/office/texstudio/gcc-4.7.patch
@@ -0,0 +1,35 @@
+diff -Naur texstudio2.3.orig/qcodeedit/lib/document/qdocumentcommand.cpp texstudio2.3/qcodeedit/lib/document/qdocumentcommand.cpp
+--- texstudio2.3.orig/qcodeedit/lib/document/qdocumentcommand.cpp 2012-02-16 13:16:25.000000000 +0000
++++ texstudio2.3/qcodeedit/lib/document/qdocumentcommand.cpp 2012-07-10 01:48:50.123060180 +0000
+@@ -22,6 +22,8 @@
+
+ #include "qdocument_p.h"
+
++#include "stdint.h"
++
+ /*!
+ \ingroup document
+ @{
+diff -Naur texstudio2.3.orig/qtsingleapplication/qtlocalpeer.cpp texstudio2.3/qtsingleapplication/qtlocalpeer.cpp
+--- texstudio2.3.orig/qtsingleapplication/qtlocalpeer.cpp 2012-02-16 13:16:25.000000000 +0000
++++ texstudio2.3/qtsingleapplication/qtlocalpeer.cpp 2012-07-10 01:40:24.169046420 +0000
+@@ -48,9 +48,9 @@
+ #include "qtlocalpeer.h"
+ #include <QtCore/QCoreApplication>
+ #include <QtCore/QTime>
+-#if QT_VERSION >= 0x040600
++#if QT_VERSION >= 0x040600
+ #include <QtCore/QProcessEnvironment>
+-#endif
++#endif
+
+ #if defined(Q_OS_WIN)
+ #include <QtCore/QLibrary>
+@@ -60,6 +60,7 @@
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include <time.h>
++#include "unistd.h"
+ #endif
+
+ namespace QtLP_Private {