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:
thunder2 2013-01-06 02:46:37 +00:00
parent f488dbd15a
commit 6d9782217b
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -2,9 +2,5 @@ TEMPLATE = subdirs
SUBDIRS += \ SUBDIRS += \
LinksCloud \ LinksCloud \
VOIP VOIP \
FeedReader
# disabled until fixed.
win32 {
SUBDIRS += FeedReader
}