1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-24 20:02:28 +02:00

qstardict: update to compile with latest glib2

This commit is contained in:
kyak 2013-01-04 00:46:40 +04:00
parent 88f3c32e2c
commit 0267b8887b
2 changed files with 13 additions and 1 deletions

View File

@ -28,7 +28,7 @@ define Build/Configure
$(call Build/Configure/Qmake,qstardict)
endef
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv
define Package/qstardict/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/qstardict/plugins

View File

@ -0,0 +1,12 @@
--- a/plugins/stardict/stardict.cpp
+++ b/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"