summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-1.1/files/patch-sal::osl::unx::system.h
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-1.1/files/patch-sal::osl::unx::system.h')
-rw-r--r--editors/openoffice.org-1.1/files/patch-sal::osl::unx::system.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.1/files/patch-sal::osl::unx::system.h b/editors/openoffice.org-1.1/files/patch-sal::osl::unx::system.h
new file mode 100644
index 000000000000..d75cac79f29e
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-sal::osl::unx::system.h
@@ -0,0 +1,17 @@
+--- ../sal/osl/unx/system.h.orig Mon Mar 11 01:41:13 2002
++++ ../sal/osl/unx/system.h Mon Mar 11 01:41:25 2002
+@@ -216,12 +216,9 @@
+ # elif BYTE_ORDER == PDP_ENDIAN
+ # define _PDP_ENDIAN
+ # endif
+-# define sched_yield() pthread_yield()
+-# define pthread_testcancel()
+ # define NO_PTHREAD_RTL
+-# define NO_PTHREAD_PRIORITY
+-# define CMD_ARG_PRG __progname
+-# define CMD_ARG_ENV environ
++# define CMD_ARG_PROC_STREAM
++# define CMD_ARG_PROC_NAME "/proc/%u/cmdline"
+ #endif
+
+ #ifdef SCO