Hi,
tar-1.19 doesn't build on Solaris 5.6/5.8, IRIX 6.5, HP-UX 11.XX etc.
sample build log from Solaris 5.8:
-------------------------------------------------------------------------------
cc -fast -xtarget=ultra3 -xarch=v8plusa -I/usr/local/include
-I/usr/local/devel/libiconv/1.11-static/include -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include -I/usr/local/devel/libiconv/1.11-static/include -g -c -o
strerror.o strerror.c
"strerror.c", line 32: undefined symbol: CHAR_BIT
"strerror.c", line 32: variable length array can not be declared with a static
storage class: mesg
cc: acomp failed for strerror.c
-------------------------------------------------------------------------------
the following mini-patch fixes this problem for the plattforms mentioned above:
-------------------------------------------------------------------------------
--- tar-1.19/lib/strerror.c~ 2007-09-28 15:11:37.000000000 +0200
+++ tar-1.19/lib/strerror.c 2008-01-08 14:32:59.000000000 +0100
@@ -23,6 +23,7 @@
# include <string.h>
# include <stdio.h>
+# include <limits.h>
# undef strerror
-------------------------------------------------------------------------------
Harald Koenig
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig \/\/\/\/\/\/\/\/\/
science+computing ag // / \\ \
[EMAIL PROTECTED] ^^^^^ ^^^^^
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196