summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-1.0/files/patch-gethostbyname_r
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-1.0/files/patch-gethostbyname_r')
-rw-r--r--editors/openoffice.org-1.0/files/patch-gethostbyname_r42
1 files changed, 0 insertions, 42 deletions
diff --git a/editors/openoffice.org-1.0/files/patch-gethostbyname_r b/editors/openoffice.org-1.0/files/patch-gethostbyname_r
deleted file mode 100644
index 1a04cdae0174..000000000000
--- a/editors/openoffice.org-1.0/files/patch-gethostbyname_r
+++ /dev/null
@@ -1,42 +0,0 @@
-Index: sal/osl/unx/socket.c
-===================================================================
-RCS file: /cvs/porting/sal/osl/unx/socket.c,v
-retrieving revision 1.22.10.1
-diff -u -r1.22.10.1 socket.c
---- sal/osl/unx/socket.c 18 Aug 2003 15:12:26 -0000 1.22.10.1
-+++ sal/osl/unx/socket.c 10 Sep 2006 03:18:08 -0000
-@@ -836,7 +836,7 @@
- const char *name, struct hostent *result,
- char *buffer, int buflen, int *h_errnop)
- {
--#ifdef LINUX
-+#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.8
-diff -u -r1.8 system.c
---- sal/osl/unx/system.c 16 Jul 2003 17:21:47 -0000 1.8
-+++ sal/osl/unx/system.c 10 Sep 2006 03:18:08 -0000
-@@ -371,6 +371,8 @@
-
- extern int h_errno;
-
-+#if !defined(FREEBSD) || (__FreeBSD_version < 601103)
-+
- struct hostent *gethostbyname_r(const char *name, struct hostent *result,
- char *buffer, int buflen, int *h_errnop)
- {
-@@ -459,6 +461,8 @@
-
- return res;
- }
-+#endif /* !defined(FREEBSD) || (__FreeBSD_version < 601103) */
-+
-
- #if defined(MACOSX)
- /*
-