aboutsummaryrefslogtreecommitdiff
path: root/system/qstardict/qstardict-1.0.1-glib_includes.patch
diff options
context:
space:
mode:
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 0000000000000..fd6e993b92639
--- /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"