aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-08-25 05:56:59 +0800
committermaho <maho@FreeBSD.org>2006-08-25 05:56:59 +0800
commit7e32bb5d1f92e96895dbbb23e46d578562aa2ea0 (patch)
tree9a2f2a47db1f6610d3a9f77a663c4041be3cfc11 /editors/openoffice.org-3
parent6f166e32e3c08b7b67437c75c074dd1e973cb3d4 (diff)
downloadfreebsd-ports-gnome-7e32bb5d1f92e96895dbbb23e46d578562aa2ea0.tar.gz
freebsd-ports-gnome-7e32bb5d1f92e96895dbbb23e46d578562aa2ea0.tar.zst
freebsd-ports-gnome-7e32bb5d1f92e96895dbbb23e46d578562aa2ea0.zip
Build fix for FreeBSD >= 601103
Diffstat (limited to 'editors/openoffice.org-3')
-rw-r--r--editors/openoffice.org-3/files/patch-i6790465
1 files changed, 65 insertions, 0 deletions
diff --git a/editors/openoffice.org-3/files/patch-i67904 b/editors/openoffice.org-3/files/patch-i67904
new file mode 100644
index 000000000000..66d7d360a2ad
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-i67904
@@ -0,0 +1,65 @@
+Index: sal/osl/unx/socket.c
+===================================================================
+RCS file: /cvs/porting/sal/osl/unx/socket.c,v
+retrieving revision 1.26
+diff -u -r1.26 socket.c
+--- sal/osl/unx/socket.c 19 Jul 2006 09:39:22 -0000 1.26
++++ sal/osl/unx/socket.c 29 Jul 2006 09:53:04 -0000
+@@ -813,7 +813,7 @@
+ const char *name, struct hostent *result,
+ char *buffer, int buflen, int *h_errnop)
+ {
+-#if defined(LINUX) || (defined(FREEBSD) && (__FreeBSD_version >= 700015))
++#if defined(LINUX) || (defined(FREEBSD) && (__FreeBSD_version >= 601103))
+ struct hostent *__result; /* will be the same as result */
+ int __error;
+ __error = gethostbyname_r (name, result, buffer, buflen,
+Index: sal/osl/unx/system.c
+===================================================================
+RCS file: /cvs/porting/sal/osl/unx/system.c,v
+retrieving revision 1.13
+diff -u -r1.13 system.c
+--- sal/osl/unx/system.c 19 Jul 2006 09:39:37 -0000 1.13
++++ sal/osl/unx/system.c 29 Jul 2006 09:53:04 -0000
+@@ -343,7 +343,7 @@
+ }
+ #endif /* defined SCO */
+
+-#if !defined(FREEBSD) || (__FreeBSD_version < 700015)
++#if !defined(FREEBSD) || (__FreeBSD_version < 601103)
+
+ extern int h_errno;
+
+Index: sal/osl/unx/system.h
+===================================================================
+RCS file: /cvs/porting/sal/osl/unx/system.h,v
+retrieving revision 1.33
+diff -u -r1.33 system.h
+--- sal/osl/unx/system.h 19 Jul 2006 09:39:50 -0000 1.33
++++ sal/osl/unx/system.h 29 Jul 2006 09:53:04 -0000
+@@ -537,7 +537,7 @@
+ struct tm *localtime_r(const time_t *timep, struct tm *buffer);
+ struct tm *gmtime_r(const time_t *timep, struct tm *buffer);
+ #endif /* !defined FREEBSD || (__FreeBSD_version < 500112) */
+-#if !defined(FREEBSD) || (__FreeBSD_version < 700015)
++#if !defined(FREEBSD) || (__FreeBSD_version < 601103)
+ struct hostent *gethostbyname_r(const char *name, struct hostent *result,
+ char *buffer, int buflen, int *h_errnop);
+ #endif /* !defined(FREEBSD) || (__FreeBSD_version < 700015) */
+Index: moz/mozilla-source-1.7.5.patch
+===================================================================
+RCS file: /cvs/external/moz/mozilla-source-1.7.5.patch,v
+retrieving revision 1.11
+diff -u -r1.11 mozilla-source-1.7.5.patch
+--- moz/mozilla-source-1.7.5.patch 19 Jul 2006 09:37:17 -0000 1.11
++++ moz/mozilla-source-1.7.5.patch 29 Jul 2006 09:53:10 -0000
+@@ -7705,7 +7705,7 @@
+
+ -#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2)
+ +#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \
+-+ (defined(__FreeBSD__) && __FreeBSD_version > 700016)
+++ (defined(__FreeBSD__) && __FreeBSD_version > 601103)
+ #define _PR_HAVE_GETPROTO_R
+ #define _PR_HAVE_5_ARG_GETPROTO_R
+ #endif
+