From 23c75851f8a215f9fe2646e34e6e0d0b25f48c22 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 23 Aug 2004 14:54:05 +0000 Subject: [PATCH] fixing compilation problems on Solaris #150844 Daniel * libexslt/date.c libxslt/imports.c libxslt/xslt.c: fixing compilation problems on Solaris #150844 Daniel --- ChangeLog | 5 +++++ libexslt/date.c | 4 ++-- libxslt/imports.c | Bin 8959 -> 8957 bytes libxslt/xslt.c | 3 ++- libxslt/xsltwin32config.h | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f9fe5b..57fde70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 23 16:53:02 CEST 2004 Daniel Veillard + + * libexslt/date.c libxslt/imports.c libxslt/xslt.c: fixing + compilation problems on Solaris #150844 + Sun Aug 22 17:19:49 CEST 2004 Daniel Veillard * configure.in NEWS doc/*: preparing release of 1.1.9 diff --git a/libexslt/date.c b/libexslt/date.c index 0a5b65b..9411016 100644 --- a/libexslt/date.c +++ b/libexslt/date.c @@ -51,8 +51,8 @@ /* needed to get localtime_r on Solaris */ #ifdef sun -#ifndef __EXTENSION__ -#define __EXTENSION__ +#ifndef __EXTENSIONS__ +#define __EXTENSIONS__ #endif #endif diff --git a/libxslt/imports.c b/libxslt/imports.c index 85b2d0fe5f634c93a45609b8135bfd5dc11a435e..21480fbeccd000cf843c228fa848aea1233861e7 100644 GIT binary patch delta 12 TcmezG`qy=XllW#A@!i}2DRTv6 delta 14 VcmezC`rmbflQ<*8W=HWo+yF3)1!DjJ diff --git a/libxslt/xslt.c b/libxslt/xslt.c index 5930c76..6e7727a 100644 --- a/libxslt/xslt.c +++ b/libxslt/xslt.c @@ -1904,7 +1904,8 @@ xsltParseStylesheetTop(xsltStylesheetPtr style, xmlNodePtr top) { } else if (IS_XSLT_NAME(cur, "namespace-alias")) { xsltNamespaceAlias(style, cur); } else { - if ((style != NULL) && (style->doc->version != NULL) && (!strncmp(style->doc->version,"1.0",3))) { + if ((style != NULL) && (style->doc->version != NULL) && + (!strncmp((const char *) style->doc->version, "1.0", 3))) { xsltTransformError(NULL, style, cur, "xsltParseStylesheetTop: unknown %s element\n", cur->name); diff --git a/libxslt/xsltwin32config.h b/libxslt/xsltwin32config.h index 80cba46..55e77b5 100644 --- a/libxslt/xsltwin32config.h +++ b/libxslt/xsltwin32config.h @@ -44,7 +44,7 @@ extern "C" { * * extra version information, used to show a CVS compilation */ -#define LIBXML_VERSION_EXTRA "-CVS934" +#define LIBXML_VERSION_EXTRA "-CVS936" /** * WITH_XSLT_DEBUG: -- 2.7.4