summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0/files/patch-sal+osl+unx+system.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-1.0/files/patch-sal+osl+unx+system.c')
-rw-r--r--editors/openoffice-1.0/files/patch-sal+osl+unx+system.c18
1 files changed, 14 insertions, 4 deletions
diff --git a/editors/openoffice-1.0/files/patch-sal+osl+unx+system.c b/editors/openoffice-1.0/files/patch-sal+osl+unx+system.c
index 8dc663ac03fc..0ccb35463636 100644
--- a/editors/openoffice-1.0/files/patch-sal+osl+unx+system.c
+++ b/editors/openoffice-1.0/files/patch-sal+osl+unx+system.c
@@ -1,6 +1,16 @@
---- ../sal/osl/unx/system.c.orig Sun Mar 17 12:34:13 2002
-+++ ../sal/osl/unx/system.c Wed Apr 3 01:03:36 2002
-@@ -195,6 +195,73 @@
+--- ../sal/osl/unx/system.c.orig Tue Aug 20 08:49:46 2002
++++ ../sal/osl/unx/system.c Sat Apr 19 22:15:25 2003
+@@ -74,7 +74,8 @@
+ static pthread_mutex_t getrtl_mutex = PTHREAD_MUTEX_INITIALIZER;
+
+ /* struct passwd differs on some platforms */
+-#if defined NETBSD || defined MACOSX || defined FREEBSD
++#if defined NETBSD || defined MACOSX || \
++ (defined FREEBSD && (__FreeBSD_version < 500112))
+ #include <pwd.h>
+ #include <sys/types.h>
+
+@@ -203,6 +204,73 @@
}
#endif
@@ -74,7 +84,7 @@
struct tm *localtime_r(const time_t *timep, struct tm *buffer)
{
struct tm* res;
-@@ -518,3 +585,50 @@
+@@ -712,3 +780,50 @@
}
#endif