summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+system.h
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-05-08 18:41:13 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-05-08 18:41:13 +0000
commitcdf1ea0fbd64f996f418526580b8b98a683a3ed6 (patch)
treecb55f495ea2da5d4e8a58d3fc9668cb177205a09 /editors/openoffice-1.1-devel/files/patch-sal+osl+unx+system.h
parentAdd ${PTHREAD_LIBS} (diff)
Fix breakage and remove redundant _LITTLE_ENDIAN defines for CURRENT only. Remove
unneeded include defines.
Notes
Notes: svn path=/head/; revision=80465
Diffstat (limited to 'editors/openoffice-1.1-devel/files/patch-sal+osl+unx+system.h')
-rw-r--r--editors/openoffice-1.1-devel/files/patch-sal+osl+unx+system.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+system.h
index 38de4aa359f0..642977f77a4d 100644
--- a/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+system.h
+++ b/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+system.h
@@ -1,6 +1,6 @@
---- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
-+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
-@@ -203,25 +203,25 @@
+--- ../sal/osl/unx/system.h.orig Tue Aug 20 15:54:55 2002
++++ ../sal/osl/unx/system.h Thu May 8 20:31:08 2003
+@@ -203,12 +203,19 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@@ -16,15 +16,17 @@
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
# include <machine/endian.h>
--# if BYTE_ORDER == LITTLE_ENDIAN
--# define _LITTLE_ENDIAN
--# elif BYTE_ORDER == BIG_ENDIAN
--# define _BIG_ENDIAN
--# elif BYTE_ORDER == PDP_ENDIAN
--# define _PDP_ENDIAN
--# endif
++#ifdef __FreeBSD_version < 500000
+ # if BYTE_ORDER == LITTLE_ENDIAN
+ # define _LITTLE_ENDIAN
+ # elif BYTE_ORDER == BIG_ENDIAN
+@@ -216,12 +223,14 @@
+ # elif BYTE_ORDER == PDP_ENDIAN
+ # define _PDP_ENDIAN
+ # endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
++#endif
# define NO_PTHREAD_RTL
-# define NO_PTHREAD_PRIORITY
-# define CMD_ARG_PRG __progname
@@ -38,7 +40,7 @@
#endif
#ifdef SCO
-@@ -547,12 +547,14 @@
+@@ -569,12 +578,14 @@
#endif
#ifdef NO_PTHREAD_RTL