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:
parent
88f3c32e2c
commit
0267b8887b
@ -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
|
||||
|
12
qstardict/patches/002-fix-glib-include.patch
Normal file
12
qstardict/patches/002-fix-glib-include.patch
Normal 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"
|
Loading…
Reference in New Issue
Block a user