--- ./Library/src/HTSQL.c Mon Feb 22 17:10:12 1999 +++ ../w3c-libwww-5.4.0/./Library/src/HTSQL.c Mon Mar 10 14:36:49 2003 @@ -38,7 +38,7 @@ if (t > 0 && *ptr) { #if defined(HT_REENTRANT) || defined(SOLARIS) struct tm gmt; - struct * pgmt = gmtime_r(&t, &gmt); + struct tm *pgmt = gmtime_r(&t, &gmt); #else struct tm *pgmt = gmtime(&t); #endif /* SOLARIS || HT_REENTRANT */ --- ./Library/src/wwwsys.h Wed Jun 12 05:31:20 2002 +++ ../w3c-libwww-5.4.0/./Library/src/wwwsys.h Mon Mar 10 11:41:42 2003 @@ -1246,6 +1246,16 @@ #define gethostbyname Rgethostbyname #else #ifdef SOCKS5 +#ifdef __sgi +/* Use the real header so SOCKSgethostbyname() et al have prototypes */ +#ifndef INCLUDE_PROTOTYPES +# define INCLUDE_PROTOTYPES +# include +# undef INCLUDE_PROTOTYPES +#else +# include +#endif +#else /* not __sgi */ #define connect SOCKSconnect #define getsockname SOCKSgetsockname #define getpeername SOCKSgetpeername @@ -1267,6 +1277,7 @@ #define dup2 SOCKSdup2 #define fclose SOCKSfclose #define gethostbyname SOCKSgethostbyname +#endif /* __sgi */ #endif /* SOCKS5 */ #endif /* SOCKS4 */ #endif /* SOCKS */ --- ./Library/src/HTMethod.c Wed May 29 12:09:13 2002 +++ ../w3c-libwww-5.4.0/./Library/src/HTMethod.c Mon Mar 10 13:00:03 2003 @@ -260,31 +260,31 @@ #ifdef HT_EXT if (name && *name) { if (method == METHOD_EXT_0) { - StrAllocCopy ((char *)(*(method_names+18)), name); + StrAllocCopy ((*(method_names+18)), name); HTEXT_EntityMethods[0] = hasEntity; } else if (method == METHOD_EXT_1) { - StrAllocCopy ((char *)(*(method_names+19)), name); + StrAllocCopy ((*(method_names+19)), name); HTEXT_EntityMethods[1] = hasEntity; } else if (method == METHOD_EXT_2) { - StrAllocCopy ((char *)(*(method_names+20)), name); + StrAllocCopy ((*(method_names+20)), name); HTEXT_EntityMethods[2] = hasEntity; } else if (method == METHOD_EXT_3) { - StrAllocCopy ((char *)(*(method_names+21)), name); + StrAllocCopy ((*(method_names+21)), name); HTEXT_EntityMethods[3] = hasEntity; } else if (method == METHOD_EXT_4) { - StrAllocCopy ((char *)(*(method_names+22)), name); + StrAllocCopy ((*(method_names+22)), name); HTEXT_EntityMethods[4] = hasEntity; } else if (method == METHOD_EXT_5) { - StrAllocCopy ((char *)(*(method_names+23)), name); + StrAllocCopy ((*(method_names+23)), name); HTEXT_EntityMethods[5] = hasEntity; } else if (method == METHOD_EXT_6) { - StrAllocCopy ((char *)(*(method_names+24)), name); + StrAllocCopy ((*(method_names+24)), name); HTEXT_EntityMethods[6] = hasEntity; } else return NO; --- ./config/ltmain.sh Thu Jun 6 11:12:37 2002 +++ ../w3c-libwww-5.4.0/./config/ltmain.sh Mon Mar 10 14:42:38 2003 @@ -61,7 +61,7 @@ default_mode= help="Try \`$progname --help' for more information." magic="%%%MAGIC variable%%%" -mkdir="mkdir" +mkdir="mkdir -p" mv="mv -f" rm="rm -f" @@ -469,7 +469,7 @@ pic_mode=default ;; esac - if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi @@ -2464,7 +2464,7 @@ ;; *) # Add libc to deplibs on all other systems if necessary. - if test $build_libtool_need_lc = "yes"; then + if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; @@ -2756,7 +2756,7 @@ # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then - if test $hardcode_into_libs = yes; then + if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= --- ./config/ltconfig Thu Jun 6 10:59:37 2002 +++ ../w3c-libwww-5.4.0/./config/ltconfig Mon Mar 10 15:33:17 2003 @@ -1881,8 +1881,8 @@ version_type=irix need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so.$major' - library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' + soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case "$host_os" in irix5*) libsuff= shlibsuff=