summaryrefslogtreecommitdiffstats
path: root/system/qstardict/gcc4.4.patch
diff options
context:
space:
mode:
author Branko Grubic <branko.grubic@gmail.com>2010-07-02 10:04:04 -0500
committer Robby Workman <rworkman@slackbuilds.org>2010-07-02 10:04:04 -0500
commit9c9ca6beadc976dadb4f8407dc6397d49a446f6c (patch)
tree8ecaf8274a8f79e265069943b077e1f8de49ad0c /system/qstardict/gcc4.4.patch
parent47babbda64837999cbaf954474aea1d2eae2951d (diff)
downloadslackbuilds-9c9ca6beadc976dadb4f8407dc6397d49a446f6c.tar.gz
slackbuilds-9c9ca6beadc976dadb4f8407dc6397d49a446f6c.tar.xz
system/qstardict: Added (stardict clone in qt)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/qstardict/gcc4.4.patch')
-rw-r--r--system/qstardict/gcc4.4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/qstardict/gcc4.4.patch b/system/qstardict/gcc4.4.patch
new file mode 100644
index 0000000000..db4b3157a7
--- /dev/null
+++ b/system/qstardict/gcc4.4.patch
@@ -0,0 +1,12 @@
+--- trunk/plugins/stardict/dictziplib.cpp 2009/07/10 15:01:40 446
++++ trunk/plugins/stardict/dictziplib.cpp 2009/08/06 07:32:12 447
+@@ -305,7 +305,7 @@
+
+ #ifdef Q_OS_UNIX
+ if (stat(fname.c_str(), &sb) || !S_ISREG(sb.st_mode))
+-#elif def Q_OS_WIN32
++#elif defined(Q_OS_WIN32)
+ if (_stat(fname.c_str(), &sb) || !(sb.stMode & _S_IFREG))
+ #endif
+ {
+