summaryrefslogtreecommitdiff
path: root/system/qstardict/qstardict-1.0.1-glib_includes.patch
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-07-24 09:24:43 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 16:23:43 -0500
commit741dddbe94b04897119e475b56f5b8d83e44ddc6 (patch)
treeb1767e814a86f7c0ae6472ce8f62288128fa42a6 /system/qstardict/qstardict-1.0.1-glib_includes.patch
parent6d78ed31024e84aace293a52622a82dc1034a5a8 (diff)
downloadslackbuilds-741dddbe94b04897119e475b56f5b8d83e44ddc6.tar.gz
system/qstardict: Updated for version 1.0.1.
This fixes build with gcc-4.7.x when coupled with the added patch for glib > 2.30.x. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/qstardict/qstardict-1.0.1-glib_includes.patch')
-rw-r--r--system/qstardict/qstardict-1.0.1-glib_includes.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/qstardict/qstardict-1.0.1-glib_includes.patch b/system/qstardict/qstardict-1.0.1-glib_includes.patch
new file mode 100644
index 0000000000..fd6e993b92
--- /dev/null
+++ b/system/qstardict/qstardict-1.0.1-glib_includes.patch
@@ -0,0 +1,14 @@
+Index: plugins/stardict/stardict.cpp
+===================================================================
+--- plugins/stardict/stardict.cpp.orig
++++ plugins/stardict/stardict.cpp
+@@ -28,8 +28,7 @@
+ #include <QFile>
+ #include <QSettings>
+ #include <QStack>
+-#include <glib/gmem.h>
+-#include <glib/gstrfuncs.h>
++#include <glib.h>
+ #include "lib.h"
+ #include "file.hpp"
+ #include "settingsdialog.h"