From cdf1ea0fbd64f996f418526580b8b98a683a3ed6 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Thu, 8 May 2003 18:41:13 +0000 Subject: Fix breakage and remove redundant _LITTLE_ENDIAN defines for CURRENT only. Remove unneeded include defines. --- .../files/patch-sal+inc+osl+endian.h | 20 ++++++++++++++++++ .../files/patch-sal+osl+unx+system.h | 16 +++++++++------ .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../openoffice-3/files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../openoffice-3/files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 20 ++++++++++++++++++ .../files/patch-sal+osl+unx+system.h | 16 +++++++++------ .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../files/patch-sal+inc+osl+endian.h | 24 +++++++++++++--------- .../files/patch-sal+osl+unx+system.h | 24 ++++++++++++---------- .../openoffice/files/patch-sal+inc+osl+endian.h | 20 ++++++++++++++++++ .../openoffice/files/patch-sal+osl+unx+system.h | 16 +++++++++------ 40 files changed, 549 insertions(+), 375 deletions(-) create mode 100644 editors/openoffice-1.0/files/patch-sal+inc+osl+endian.h create mode 100644 editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h create mode 100644 editors/openoffice/files/patch-sal+inc+osl+endian.h diff --git a/editors/openoffice-1.0/files/patch-sal+inc+osl+endian.h b/editors/openoffice-1.0/files/patch-sal+inc+osl+endian.h new file mode 100644 index 000000000000..95e5d1861a70 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-sal+inc+osl+endian.h @@ -0,0 +1,20 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif + + #ifdef FREEBSD ++# include + # include ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif + #endif + + #ifdef SCO diff --git a/editors/openoffice-1.0/files/patch-sal+osl+unx+system.h b/editors/openoffice-1.0/files/patch-sal+osl+unx+system.h index 806e8f6c35cb..642977f77a4d 100644 --- a/editors/openoffice-1.0/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice-1.0/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,8 +203,16 @@ +--- ../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 # include # include @@ -12,17 +12,21 @@ +# include +# include +# include -+# include -+# include # include # include # define IORESOURCE_TRANSFER_BSD -@@ -216,12 +224,13 @@ + # include ++#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 diff --git a/editors/openoffice-1.1-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice-1.1-devel/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice-1.1-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice-1.1-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO 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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice-1.1/files/patch-sal+inc+osl+endian.h b/editors/openoffice-1.1/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice-1.1/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice-1.1/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice-1.1/files/patch-sal+osl+unx+system.h b/editors/openoffice-1.1/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice-1.1/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice-1.1/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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice-2.0-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice-2.0-devel/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice-2.0-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice-2.0-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice-2.0-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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice-3-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice-3-devel/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice-3-devel/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice-3-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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice-3/files/patch-sal+inc+osl+endian.h b/editors/openoffice-3/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice-3/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice-3/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice-3/files/patch-sal+osl+unx+system.h b/editors/openoffice-3/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice-3/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice-3/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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice-devel/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice-devel/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice-devel/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice-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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h new file mode 100644 index 000000000000..95e5d1861a70 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h @@ -0,0 +1,20 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif + + #ifdef FREEBSD ++# include + # include ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif + #endif + + #ifdef SCO diff --git a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+system.h index 806e8f6c35cb..642977f77a4d 100644 --- a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-1.0/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,8 +203,16 @@ +--- ../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 # include # include @@ -12,17 +12,21 @@ +# include +# include +# include -+# include -+# include # include # include # define IORESOURCE_TRANSFER_BSD -@@ -216,12 +224,13 @@ + # include ++#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 diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-1.1-devel/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-1.1-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-1.1/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-1.1/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-1.1/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-1.1/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO 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 index 38de4aa359f0..642977f77a4d 100644 --- 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 @@ -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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-2-RC/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-2-RC/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-2-RC/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-2-RC/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-2-RC/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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-2-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-2-devel/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-2-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-2-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-2-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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-2.0-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-2.0-devel/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-2.0-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-2.0-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-2.0-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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-2.0/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-2.0/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-2.0/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-2.0/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-2.0/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-2.0/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-2.0/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-2.0/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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-2/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-2/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-2/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-2/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-2/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-2/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-2/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-2/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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-3-RC/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-3-RC/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-3-RC/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-3-RC/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-3-RC/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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-3-devel/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-3-devel/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-3-devel/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-3-devel/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-3-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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-3/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-3/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-3/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-3/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-3/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-3/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-3/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-3/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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice.org-vcltesttool/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-vcltesttool/files/patch-sal+inc+osl+endian.h index 22146c369344..95e5d1861a70 100644 --- a/editors/openoffice.org-vcltesttool/files/patch-sal+inc+osl+endian.h +++ b/editors/openoffice.org-vcltesttool/files/patch-sal+inc+osl+endian.h @@ -1,16 +1,20 @@ ---- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003 -+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003 -@@ -108,13 +108,6 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif #ifdef FREEBSD ++# include # include --# 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 ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif #endif #ifdef SCO diff --git a/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+system.h b/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+system.h index 38de4aa359f0..642977f77a4d 100644 --- a/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice.org-vcltesttool/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 # include # include @@ -16,15 +16,17 @@ # include # define IORESOURCE_TRANSFER_BSD # include --# 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 diff --git a/editors/openoffice/files/patch-sal+inc+osl+endian.h b/editors/openoffice/files/patch-sal+inc+osl+endian.h new file mode 100644 index 000000000000..95e5d1861a70 --- /dev/null +++ b/editors/openoffice/files/patch-sal+inc+osl+endian.h @@ -0,0 +1,20 @@ +--- ../sal/inc/osl/endian.h.orig Thu May 8 20:19:09 2003 ++++ ../sal/inc/osl/endian.h Thu May 8 20:29:00 2003 +@@ -107,7 +107,9 @@ + #endif + + #ifdef FREEBSD ++# include + # include ++#if __FreeBSD_version < 500000 + # if BYTE_ORDER == LITTLE_ENDIAN + # define _LITTLE_ENDIAN + # elif BYTE_ORDER == BIG_ENDIAN +@@ -115,6 +117,7 @@ + # elif BYTE_ORDER == PDP_ENDIAN + # define _PDP_ENDIAN + # endif ++#endif + #endif + + #ifdef SCO diff --git a/editors/openoffice/files/patch-sal+osl+unx+system.h b/editors/openoffice/files/patch-sal+osl+unx+system.h index 806e8f6c35cb..642977f77a4d 100644 --- a/editors/openoffice/files/patch-sal+osl+unx+system.h +++ b/editors/openoffice/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,8 +203,16 @@ +--- ../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 # include # include @@ -12,17 +12,21 @@ +# include +# include +# include -+# include -+# include # include # include # define IORESOURCE_TRANSFER_BSD -@@ -216,12 +224,13 @@ + # include ++#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 -- cgit v1.2.3