[packages] imspector: remove iconv workarounds
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24876 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
67b2564ce9
commit
43d21755a2
@ -1,11 +0,0 @@
|
||||
--- a/icqprotocolplugin.cpp
|
||||
+++ b/icqprotocolplugin.cpp
|
||||
@@ -668,7 +668,7 @@ int getmessage(GET_ARGS, std::string &me
|
||||
char converted_string[BUFFER_SIZE];
|
||||
memset(converted_string, 0, BUFFER_SIZE);
|
||||
|
||||
- char *inbuf = string;
|
||||
+ const char *inbuf = string;
|
||||
char *outbuf = converted_string;
|
||||
size_t inbytesleft = mylength - 4;
|
||||
size_t outbytesleft = BUFFER_SIZE - 1; /* Trailing \0 */
|
@ -1,11 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -54,7 +54,7 @@ libimspector.so: $(LIBIMSPECTOR_OBJS)
|
||||
msnprotocolplugin.so: msnprotocolplugin.o libimspector.so
|
||||
$(CXX) msnprotocolplugin.o libimspector.so $(PLUGIN_FLAGS)
|
||||
icqprotocolplugin.so: icqprotocolplugin.o libimspector.so
|
||||
- $(CXX) icqprotocolplugin.o libimspector.so $(PLUGIN_FLAGS)
|
||||
+ $(CXX) icqprotocolplugin.o libimspector.so $(PLUGIN_FLAGS) -L$(PREFIX)/lib/libiconv/lib -liconv
|
||||
yahooprotocolplugin.so: yahooprotocolplugin.o libimspector.so
|
||||
$(CXX) yahooprotocolplugin.o libimspector.so $(PLUGIN_FLAGS)
|
||||
ircprotocolplugin.so: ircprotocolplugin.o libimspector.so
|
Loading…
x
Reference in New Issue
Block a user