--- libFoundation-0.8.0/libFoundation/Foundation/common.h.orig	Wed Nov 19 19:37:58 1997
+++ libFoundation-0.8.0/libFoundation/Foundation/common.h	Sat Feb 20 22:48:48 1999
@@ -31,4 +31,6 @@
 #include <config.h>
 
+#include <stdio.h>
+
 #if HAVE_STRING_H
 # include <string.h>
--- libFoundation-0.8.0/libFoundation/Foundation/NSConcreteFileHandle.m.orig	Wed Nov 19 19:37:37 1997
+++ libFoundation-0.8.0/libFoundation/Foundation/NSConcreteFileHandle.m	Sat Feb 20 22:48:48 1999
@@ -29,7 +29,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <sys/socket.h>
 #include <sys/un.h>
 #include <netinet/in.h>
-#include <sys/socket.h>
 
 enum {
--- libFoundation-0.8.0/libFoundation/Foundation/UnixSignalHandler.m.orig	Wed Nov 19 19:37:58 1997
+++ libFoundation-0.8.0/libFoundation/Foundation/UnixSignalHandler.m	Sat Feb 20 22:48:48 1999
@@ -262,5 +262,9 @@
 
 	act.sa_handler = (PTSignalFunction)signalHandlerFunction;
+#if HAVE_SIGEMPTYSET
+	sigemptyset(&act.sa_mask);
+#else
 	act.sa_mask = 0;
+#endif
 	act.sa_flags = 0;
 	sigaction (signum, &act, &oldact);
--- libFoundation-0.8.0/libFoundation/Foundation/NSFileManager.m.orig	Wed Nov 19 19:37:44 1997
+++ libFoundation-0.8.0/libFoundation/Foundation/NSFileManager.m	Sat Feb 20 22:52:55 1999
@@ -83,4 +83,8 @@
 #endif
 
+#ifdef HAVE_SYS_STATVFS_H
+# include <sys/statvfs.h>
+#endif
+
 #ifdef HAVE_SYS_STATFS_H
 # include <sys/statfs.h>
--- libFoundation-0.8.0/libFoundation/config.h.in.orig	Wed Nov 19 19:37:27 1997
+++ libFoundation-0.8.0/libFoundation/config.h.in	Sat Feb 20 22:57:17 1999
@@ -47,4 +47,7 @@
 #undef HAVE_SIGACTION
 
+/* Define if you have the sigemptyset function. */
+#undef HAVE_SIGEMPTYSET
+
 /* Define if the Objective-C runtime contains the objc_thread_create function;
    this function was defined in the multi-thread support in the 960906
@@ -132,4 +135,7 @@
 /* Define if you have the <sys/vfs.h> header file */
 #undef HAVE_SYS_VFS_H
+
+/* Define if you have the <sys/statvfs.h> header file */
+#undef HAVE_SYS_STATVFS_H
 
 /* Define if you have the <sys/statfs.h> header file */
--- libFoundation-0.8.0/libFoundation/configure.in.orig	Wed Nov 19 19:37:29 1997
+++ libFoundation-0.8.0/libFoundation/configure.in	Sat Feb 20 23:04:20 1999
@@ -28,4 +28,5 @@
 
 # Assign the HOST variables for sharedlib.mak
+test linux-gnu = "$host_os" && host_os=linux
 HOST=$host
 HOST_CPU=$host_cpu
@@ -131,5 +132,5 @@
 		sys/stat.h sys/vfs.h sys/statfs.h netinet/in.h windows.h dnl
 		Windows32/Sockets.h pwd.h process.h grp.h sys/param.h dnl
-		sys/file.h sys/errno.h)
+		sys/file.h sys/errno.h sys/statvfs.h)
 AC_HEADER_SYS_WAIT
 
@@ -141,5 +142,5 @@
 	       getpagesize statvfs chown symlink readlink opendir fsync dnl
 	       sysconf GetSystemInfo gettimeofday GetLocalTime sigsetmask dnl
-	       sigset sigaction sighold)
+	       sigset sigaction sigemptyset sighold)
 AC_FUNC_MMAP
 AC_FUNC_VFORK
--- libFoundation-0.8.0/libFoundation/sharedlib.mak.orig	Wed Nov 19 19:37:29 1997
+++ libFoundation-0.8.0/libFoundation/sharedlib.mak	Sat Feb 20 22:48:48 1999
@@ -57,5 +57,5 @@
 SHARED_OBJDIR		= shared_obj
 SHARED_LIB_LINK_CMD	= \
-	$(CC) -shared -o $@ -W,l,soname=$(LIB_FOUNDATION_NAME).$(VERSION) $^
+	$(CC) -shared -o $@ -Wl,-soname,$(LIB_FOUNDATION_NAME).$(MAJOR_VERSION) $^
 
 INSTALL_SHARED_LIB_CMD	= \
@@ -63,5 +63,6 @@
 	(cd $(SHARED_LIB_DIR); \
 	 rm $(LIB_FOUNDATION_NAME); \
-	 ln -sf $(LIB_FOUNDATION_NAME).$(VERSION) $(LIB_FOUNDATION_NAME))
+	 ln -sf $(LIB_FOUNDATION_NAME).$(VERSION) $(LIB_FOUNDATION_NAME); \
+	 ln -sf $(LIB_FOUNDATION_NAME).$(VERSION) $(LIB_FOUNDATION_NAME).$(MAJOR_VERSION))
 
 ADDITIONAL_CC_FLAGS	+= -fPIC
--- libFoundation-0.8.0/libFoundation/configure.orig	Wed Nov 19 19:37:29 1997
+++ libFoundation-0.8.0/libFoundation/configure	Sat Feb 20 23:04:12 1999
@@ -603,9 +603,9 @@
 
 # Assign the HOST variables for sharedlib.mak
+test linux-gnu = "$host_os" && host_os=linux
 HOST=$host
 HOST_CPU=$host_cpu
 HOST_VENDOR=$host_vendor
 HOST_OS=$host_os
-
 if test ! -f ${srcdir}/config/${host_cpu}/${host_os}.h; then
     if test -d ${srcdir}/config/$host_cpu; then
@@ -2072,5 +2072,5 @@
 fi
 
-for ac_hdr in dir.h libc.h sys/time.h stdlib.h memory.h string.h 		sys/stat.h sys/vfs.h sys/statfs.h netinet/in.h windows.h 		Windows32/Sockets.h pwd.h process.h grp.h sys/param.h 		sys/file.h sys/errno.h
+for ac_hdr in dir.h libc.h sys/time.h stdlib.h memory.h string.h 		sys/stat.h sys/vfs.h sys/statfs.h netinet/in.h windows.h 		Windows32/Sockets.h pwd.h process.h grp.h sys/param.h 		sys/file.h sys/errno.h sys/statvfs.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
@@ -2213,5 +2213,5 @@
 
 
-for ac_func in memcpy ualarm getcwd getuid getpwnam getpwuid kill raise 	       getpagesize statvfs chown symlink readlink opendir fsync 	       sysconf GetSystemInfo gettimeofday GetLocalTime sigsetmask 	       sigset sigaction sighold
+for ac_func in memcpy ualarm getcwd getuid getpwnam getpwuid kill raise 	       getpagesize statvfs chown symlink readlink opendir fsync 	       sysconf GetSystemInfo gettimeofday GetLocalTime sigsetmask 	       sigset sigaction sigemptyset sighold
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
