mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Added patch from AsamK:
- Fixed compile of FeedReader plugin with libxml2 < 2.8 - Enabled compile of FeedReader plugin for all systems git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6061 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f488dbd15a
commit
6d9782217b
@ -107,7 +107,11 @@ bool XMLWrapper::convertFromString(const char *text, xmlChar *&xmlText)
|
|||||||
int ret = xmlCharEncInFunc(mCharEncodingHandler, out, in);
|
int ret = xmlCharEncInFunc(mCharEncodingHandler, out, in);
|
||||||
if (ret >= 0) {
|
if (ret >= 0) {
|
||||||
result = true;
|
result = true;
|
||||||
|
#if LIBXML_VERSION >= 20800
|
||||||
xmlText = xmlBufferDetach(out);
|
xmlText = xmlBufferDetach(out);
|
||||||
|
#else
|
||||||
|
xmlText = xmlStrdup(xmlBufferContent(out));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
xmlBufferFree(in);
|
xmlBufferFree(in);
|
||||||
|
@ -2,9 +2,5 @@ TEMPLATE = subdirs
|
|||||||
|
|
||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
LinksCloud \
|
LinksCloud \
|
||||||
VOIP
|
VOIP \
|
||||||
|
FeedReader
|
||||||
# disabled until fixed.
|
|
||||||
win32 {
|
|
||||||
SUBDIRS += FeedReader
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user