diff options
author | maho <maho@FreeBSD.org> | 2006-07-31 09:36:37 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2006-07-31 09:36:37 +0800 |
commit | 431e55555635221b59f07ce4cf5c6d9574213ea6 (patch) | |
tree | 7a010ad7bfa415b39b2c9f070185de8cecf222e2 /editors | |
parent | 0242635f63cdccca32088ed2895bdf3c4f53a9c7 (diff) | |
download | freebsd-ports-gnome-431e55555635221b59f07ce4cf5c6d9574213ea6.tar.gz freebsd-ports-gnome-431e55555635221b59f07ce4cf5c6d9574213ea6.tar.zst freebsd-ports-gnome-431e55555635221b59f07ce4cf5c6d9574213ea6.zip |
Fix build for 6.1-STABLE
Diffstat (limited to 'editors')
-rw-r--r-- | editors/openoffice-3/files/patch-i65512 | 8 | ||||
-rw-r--r-- | editors/openoffice.org-2-RC/files/patch-i65512 | 8 | ||||
-rw-r--r-- | editors/openoffice.org-2.0/files/patch-i65512 | 8 | ||||
-rw-r--r-- | editors/openoffice.org-2/files/patch-i65512 | 8 | ||||
-rw-r--r-- | editors/openoffice.org-3-RC/files/patch-i65512 | 8 | ||||
-rw-r--r-- | editors/openoffice.org-3/files/patch-i65512 | 8 |
6 files changed, 24 insertions, 24 deletions
diff --git a/editors/openoffice-3/files/patch-i65512 b/editors/openoffice-3/files/patch-i65512 index b37f2e47fa2d..31a5566f164a 100644 --- a/editors/openoffice-3/files/patch-i65512 +++ b/editors/openoffice-3/files/patch-i65512 @@ -5,7 +5,7 @@ char *buffer, int buflen, int *h_errnop) { -#ifdef LINUX -+#if defined(LINUX) || (defined(FREEBSD) && (__FreeBSD_version >= 700015)) ++#if defined(LINUX) || (defined(FREEBSD) && ((__FreeBSD_version >= 700015) || (__FreeBSD_version >= 601103))) struct hostent *__result; /* will be the same as result */ int __error; __error = gethostbyname_r (name, result, buffer, buflen, @@ -15,7 +15,7 @@ } #endif /* defined SCO */ -+#if !defined(FREEBSD) || (__FreeBSD_version < 700015) ++#if !defined(FREEBSD) || (__FreeBSD_version < 700015) || (__FreeBSD_version < 601103) + extern int h_errno; @@ -34,7 +34,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 < 700015) || (__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) */ @@ -55,7 +55,7 @@ + +-#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) ++#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \ -++ (defined(__FreeBSD__) && __FreeBSD_version > 700016) +++ (defined(__FreeBSD__) && (__FreeBSD_version > 700016 || __FreeBSD_version > 601103)) + #define _PR_HAVE_GETPROTO_R + #define _PR_HAVE_5_ARG_GETPROTO_R + #endif diff --git a/editors/openoffice.org-2-RC/files/patch-i65512 b/editors/openoffice.org-2-RC/files/patch-i65512 index b37f2e47fa2d..31a5566f164a 100644 --- a/editors/openoffice.org-2-RC/files/patch-i65512 +++ b/editors/openoffice.org-2-RC/files/patch-i65512 @@ -5,7 +5,7 @@ char *buffer, int buflen, int *h_errnop) { -#ifdef LINUX -+#if defined(LINUX) || (defined(FREEBSD) && (__FreeBSD_version >= 700015)) ++#if defined(LINUX) || (defined(FREEBSD) && ((__FreeBSD_version >= 700015) || (__FreeBSD_version >= 601103))) struct hostent *__result; /* will be the same as result */ int __error; __error = gethostbyname_r (name, result, buffer, buflen, @@ -15,7 +15,7 @@ } #endif /* defined SCO */ -+#if !defined(FREEBSD) || (__FreeBSD_version < 700015) ++#if !defined(FREEBSD) || (__FreeBSD_version < 700015) || (__FreeBSD_version < 601103) + extern int h_errno; @@ -34,7 +34,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 < 700015) || (__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) */ @@ -55,7 +55,7 @@ + +-#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) ++#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \ -++ (defined(__FreeBSD__) && __FreeBSD_version > 700016) +++ (defined(__FreeBSD__) && (__FreeBSD_version > 700016 || __FreeBSD_version > 601103)) + #define _PR_HAVE_GETPROTO_R + #define _PR_HAVE_5_ARG_GETPROTO_R + #endif diff --git a/editors/openoffice.org-2.0/files/patch-i65512 b/editors/openoffice.org-2.0/files/patch-i65512 index b37f2e47fa2d..31a5566f164a 100644 --- a/editors/openoffice.org-2.0/files/patch-i65512 +++ b/editors/openoffice.org-2.0/files/patch-i65512 @@ -5,7 +5,7 @@ char *buffer, int buflen, int *h_errnop) { -#ifdef LINUX -+#if defined(LINUX) || (defined(FREEBSD) && (__FreeBSD_version >= 700015)) ++#if defined(LINUX) || (defined(FREEBSD) && ((__FreeBSD_version >= 700015) || (__FreeBSD_version >= 601103))) struct hostent *__result; /* will be the same as result */ int __error; __error = gethostbyname_r (name, result, buffer, buflen, @@ -15,7 +15,7 @@ } #endif /* defined SCO */ -+#if !defined(FREEBSD) || (__FreeBSD_version < 700015) ++#if !defined(FREEBSD) || (__FreeBSD_version < 700015) || (__FreeBSD_version < 601103) + extern int h_errno; @@ -34,7 +34,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 < 700015) || (__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) */ @@ -55,7 +55,7 @@ + +-#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) ++#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \ -++ (defined(__FreeBSD__) && __FreeBSD_version > 700016) +++ (defined(__FreeBSD__) && (__FreeBSD_version > 700016 || __FreeBSD_version > 601103)) + #define _PR_HAVE_GETPROTO_R + #define _PR_HAVE_5_ARG_GETPROTO_R + #endif diff --git a/editors/openoffice.org-2/files/patch-i65512 b/editors/openoffice.org-2/files/patch-i65512 index b37f2e47fa2d..31a5566f164a 100644 --- a/editors/openoffice.org-2/files/patch-i65512 +++ b/editors/openoffice.org-2/files/patch-i65512 @@ -5,7 +5,7 @@ char *buffer, int buflen, int *h_errnop) { -#ifdef LINUX -+#if defined(LINUX) || (defined(FREEBSD) && (__FreeBSD_version >= 700015)) ++#if defined(LINUX) || (defined(FREEBSD) && ((__FreeBSD_version >= 700015) || (__FreeBSD_version >= 601103))) struct hostent *__result; /* will be the same as result */ int __error; __error = gethostbyname_r (name, result, buffer, buflen, @@ -15,7 +15,7 @@ } #endif /* defined SCO */ -+#if !defined(FREEBSD) || (__FreeBSD_version < 700015) ++#if !defined(FREEBSD) || (__FreeBSD_version < 700015) || (__FreeBSD_version < 601103) + extern int h_errno; @@ -34,7 +34,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 < 700015) || (__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) */ @@ -55,7 +55,7 @@ + +-#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) ++#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \ -++ (defined(__FreeBSD__) && __FreeBSD_version > 700016) +++ (defined(__FreeBSD__) && (__FreeBSD_version > 700016 || __FreeBSD_version > 601103)) + #define _PR_HAVE_GETPROTO_R + #define _PR_HAVE_5_ARG_GETPROTO_R + #endif diff --git a/editors/openoffice.org-3-RC/files/patch-i65512 b/editors/openoffice.org-3-RC/files/patch-i65512 index b37f2e47fa2d..31a5566f164a 100644 --- a/editors/openoffice.org-3-RC/files/patch-i65512 +++ b/editors/openoffice.org-3-RC/files/patch-i65512 @@ -5,7 +5,7 @@ char *buffer, int buflen, int *h_errnop) { -#ifdef LINUX -+#if defined(LINUX) || (defined(FREEBSD) && (__FreeBSD_version >= 700015)) ++#if defined(LINUX) || (defined(FREEBSD) && ((__FreeBSD_version >= 700015) || (__FreeBSD_version >= 601103))) struct hostent *__result; /* will be the same as result */ int __error; __error = gethostbyname_r (name, result, buffer, buflen, @@ -15,7 +15,7 @@ } #endif /* defined SCO */ -+#if !defined(FREEBSD) || (__FreeBSD_version < 700015) ++#if !defined(FREEBSD) || (__FreeBSD_version < 700015) || (__FreeBSD_version < 601103) + extern int h_errno; @@ -34,7 +34,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 < 700015) || (__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) */ @@ -55,7 +55,7 @@ + +-#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) ++#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \ -++ (defined(__FreeBSD__) && __FreeBSD_version > 700016) +++ (defined(__FreeBSD__) && (__FreeBSD_version > 700016 || __FreeBSD_version > 601103)) + #define _PR_HAVE_GETPROTO_R + #define _PR_HAVE_5_ARG_GETPROTO_R + #endif diff --git a/editors/openoffice.org-3/files/patch-i65512 b/editors/openoffice.org-3/files/patch-i65512 index b37f2e47fa2d..31a5566f164a 100644 --- a/editors/openoffice.org-3/files/patch-i65512 +++ b/editors/openoffice.org-3/files/patch-i65512 @@ -5,7 +5,7 @@ char *buffer, int buflen, int *h_errnop) { -#ifdef LINUX -+#if defined(LINUX) || (defined(FREEBSD) && (__FreeBSD_version >= 700015)) ++#if defined(LINUX) || (defined(FREEBSD) && ((__FreeBSD_version >= 700015) || (__FreeBSD_version >= 601103))) struct hostent *__result; /* will be the same as result */ int __error; __error = gethostbyname_r (name, result, buffer, buflen, @@ -15,7 +15,7 @@ } #endif /* defined SCO */ -+#if !defined(FREEBSD) || (__FreeBSD_version < 700015) ++#if !defined(FREEBSD) || (__FreeBSD_version < 700015) || (__FreeBSD_version < 601103) + extern int h_errno; @@ -34,7 +34,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 < 700015) || (__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) */ @@ -55,7 +55,7 @@ + +-#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) ++#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \ -++ (defined(__FreeBSD__) && __FreeBSD_version > 700016) +++ (defined(__FreeBSD__) && (__FreeBSD_version > 700016 || __FreeBSD_version > 601103)) + #define _PR_HAVE_GETPROTO_R + #define _PR_HAVE_5_ARG_GETPROTO_R + #endif |