slackbuilds_ponce/system/qstardict/qstardict-1.0.1-glib_includes.patch
ponce 741dddbe94 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>
2012-08-21 16:23:43 -05:00

14 lines
395 B
Diff

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"