diff options
author | mbr <mbr@FreeBSD.org> | 2003-05-09 02:08:11 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-05-09 02:08:11 +0800 |
commit | 3b288752e066f2c03331478585627a5685ef738f (patch) | |
tree | 288be915f7f3b5f77b02905e216262080df06de7 /editors/openoffice-3-devel | |
parent | ab8004dea296f54e315980e99b9bfbf1e03ba28a (diff) | |
download | freebsd-ports-graphics-3b288752e066f2c03331478585627a5685ef738f.tar.gz freebsd-ports-graphics-3b288752e066f2c03331478585627a5685ef738f.tar.zst freebsd-ports-graphics-3b288752e066f2c03331478585627a5685ef738f.zip |
Fix breakage and remove redundant _LITTLE_ENDIAN defines. Remove
unneeded include defines.
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r-- | editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h | 16 | ||||
-rw-r--r-- | editors/openoffice-3-devel/files/patch-sal+osl+unx+system.h | 18 |
2 files changed, 26 insertions, 8 deletions
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 new file mode 100644 index 00000000000..22146c36934 --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-sal+inc+osl+endian.h @@ -0,0 +1,16 @@ +--- ../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 @@ + + #ifdef FREEBSD + # 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 + #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 806e8f6c35c..38de4aa359f 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,8 +203,16 @@ +@@ -203,25 +203,25 @@ # include <dlfcn.h> # include <sys/filio.h> # include <sys/ioctl.h> @@ -12,15 +12,17 @@ +# include <vm/vm_param.h> +# include <vm/pmap.h> +# include <vm/swap_pager.h> -+# include <machine/vmparam.h> -+# include <machine/pmap.h> # include <sys/un.h> # include <netinet/tcp.h> # define IORESOURCE_TRANSFER_BSD -@@ -216,12 +224,13 @@ - # elif BYTE_ORDER == PDP_ENDIAN - # define _PDP_ENDIAN - # endif + # 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 -# define sched_yield() pthread_yield() -# define pthread_testcancel() # define NO_PTHREAD_RTL @@ -36,7 +38,7 @@ #endif #ifdef SCO -@@ -569,12 +578,14 @@ +@@ -547,12 +547,14 @@ #endif #ifdef NO_PTHREAD_RTL |