Hi

When I try to compile libxslt on Solaris 9 on Sparc machine I get this
error message:

/bin/bash ../libtool --tag=CC   --mode=compile /openpkg/bin/cc
-DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -I/openpkg/include/libxml2
-I/openpkg/include  -I/openpkg/include  -O2 -pipe -I/openpkg/include
-Wall -MT extra.lo -MD -MP -MF .deps/extra.Tpo -c -o extra.lo extra.c
extra.c: In function 'xsltFunctionLocalTime':
extra.c:252: error: 'struct tm' has no member named 'tm_gmtoff'
mv -f .deps/variables.Tpo .deps/variables.Plo
make[2]: *** [extra.lo] Error 1

xsltFucntionLocalTime implements (unportable as noted in source)
localTime XSLT extension, so I decided to not build it on Solaris.

Modified libxslt.patch attached.

-- 
Artur Frysiak
http://www.pld-linux.org

Attachment: libxslt.patch
Description: Binary data

Reply via email to