aports/main/nspr/fix-getproto.patch
2016-03-10 10:03:19 +00:00

14 lines
435 B
Diff

--- ./nspr/pr/src/misc/prnetdb.c.orig
+++ ./nspr/pr/src/misc/prnetdb.c
@@ -61,9 +61,7 @@
#define _PR_HAVE_GETPROTO_R_POINTER
#endif
-#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) \
- || (defined(LINUX) && defined(_REENTRANT) \
- && defined(__GLIBC__) && __GLIBC__ < 2)
+#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT))
#define _PR_HAVE_GETPROTO_R
#define _PR_HAVE_GETPROTO_R_POINTER
#endif