summaryrefslogtreecommitdiff
path: root/devel/linuxthreads/files/patch-aa
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2004-03-21 20:22:14 +0000
committerTor Egge <tegge@FreeBSD.org>2004-03-21 20:22:14 +0000
commitfde454087475cb754059ce8764911b3069147a34 (patch)
tree2f3de969519223ee8f88bc6f7dba6a9fd5420d42 /devel/linuxthreads/files/patch-aa
parentUpdate to 2.1.28. (diff)
Stop wrapping gethost* functions on 5.2-CURRENT.
Notes
Notes: svn path=/head/; revision=104859
Diffstat (limited to 'devel/linuxthreads/files/patch-aa')
-rw-r--r--devel/linuxthreads/files/patch-aa12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/linuxthreads/files/patch-aa b/devel/linuxthreads/files/patch-aa
index 1eaa73d68cdb..58e262ed0b75 100644
--- a/devel/linuxthreads/files/patch-aa
+++ b/devel/linuxthreads/files/patch-aa
@@ -332,9 +332,11 @@ diff -ru ../../work/linuxthreads-2.2.3/cancel.c ./cancel.c
diff -ru ../../work/linuxthreads-2.2.3/errno.c ./errno.c
--- ../../work/linuxthreads-2.2.3/errno.c Sat Dec 4 20:31:49 1999
+++ ./errno.c Thu Jun 7 22:59:29 2001
-@@ -19,13 +19,13 @@
+@@ -18,14 +18,17 @@
+ #include <netdb.h>
#include "pthread.h"
#include "internals.h"
++#include <osreldate.h>
-int * __errno_location()
+int * __error()
@@ -344,10 +346,18 @@ diff -ru ../../work/linuxthreads-2.2.3/errno.c ./errno.c
}
-int * __h_errno_location()
++#if __FreeBSD_version < 502104
++
+int * __h_error()
{
pthread_descr self = thread_self();
return THREAD_GETMEM (self, p_h_errnop);
+@@ -37,3 +40,5 @@
+ pthread_descr self = thread_self();
+ return THREAD_GETMEM (self, p_resp);
+ }
++
++#endif /* #if __FreeBSD_version < 502104 */
diff -ru ../../work/linuxthreads-2.2.3/internals.h ./internals.h
--- ../../work/linuxthreads-2.2.3/internals.h Wed Apr 25 21:50:59 2001
+++ ./internals.h Thu Jun 7 22:59:29 2001