aaf23c7e53
Noteworthy changes in version `1.24.0' ====================================== * There is binary incompatibility on 64bit systems in that the value of the NSNotFound constant there is now 64bits rather than 32bits. * gcc-4.0 is the minimum official supported compiler for GNUstep * Support for the GNU LANGUAGES environment variable and other locale improvements * IPV6 support for NSHost and networking operations * Support for UTF-8 string literals in source (compiler permitting) Noteworthy changes in version `1.23.0' ====================================== * Support for automatic reference counting (ARC) when using clasng and the GNUstep Objective-C 2.0 runtime 1.5 or later. * Full support for weak references in NSHashTable, NSMapTable and NSPointerArray when using clang and the GNUstep Objective-C 2.0 runtime 1.5 or later. Noteworthy changes in version `1.22.0' ====================================== * Many updates and new classes * There is now a regression test framework included with the package * New support for Objective-C 2.0
16 lines
509 B
Text
16 lines
509 B
Text
$NetBSD: patch-af,v 1.8 2012/10/22 02:17:16 rh Exp $
|
|
|
|
--- Source/Additions/GSXML.m.orig 2012-01-09 08:28:27.000000000 +0000
|
|
+++ Source/Additions/GSXML.m
|
|
@@ -984,7 +984,11 @@ static NSMapTable *nodeNames = 0;
|
|
1,
|
|
"utf-8");
|
|
xmlOutputBufferFlush(buf);
|
|
+#if LIBXML_VERSION < 20900
|
|
string = UTF8StrLen(buf->buffer->content, buf->buffer->use);
|
|
+#else
|
|
+ string = UTF8StrLen(xmlBufContent(buf->buffer), xmlBufUse(buf->buffer));
|
|
+#endif
|
|
xmlOutputBufferClose(buf);
|
|
}
|
|
return string;
|