mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 09:00:33 -04:00
- update firefox-esr, thunderbird-esr, linux-thunderbird and linux-firefox to 10.0.7 - update seamonkey and linux-seamonkey to 2.12 - update nss to 3.13.6 - update bsdipc code (posix_spawn, SysV shared memory) - rename patches to easily track those not (yet) submitted upstream - reduce package size, except for www/libxul[1] - restore default objdir to what it was in 13.0 - fix mail/enigmail after thunderbird build changes - don't accidentally pick up headers from installed ports[3] - add support for PREFIX != LOCALBASE to Makefile.webplugins [4] - document vulnerabilities in vuln.xml - *miscellaneous cleanups and fixups* Obtained from: OpenBSD ports[1] PR: ports/159831, ports/160933, ports/170467[3], ports/170236 [4] Submitted by: avilla [4] In collaboration with: Jan Beich <jbeich@tormail.net> Who did most of the hard work.
31 lines
871 B
Text
31 lines
871 B
Text
--- ../pr/include/md/_freebsd.h~
|
|
+++ ../pr/include/md/_freebsd.h
|
|
@@ -47,6 +47,14 @@
|
|
#define _PR_HAVE_LARGE_OFF_T
|
|
|
|
#if defined(_PR_PTHREADS)
|
|
+#if __FreeBSD_version >= 602000
|
|
+#define _PR_HAVE_GETPROTO_R
|
|
+#define _PR_HAVE_5_ARG_GETPROTO_R
|
|
+#endif
|
|
+#if __FreeBSD_version >= 700016
|
|
+#define _PR_HAVE_GETHOST_R
|
|
+#define _PR_HAVE_GETHOST_R_INT
|
|
+#endif
|
|
#if __FreeBSD_version >= 400008
|
|
/*
|
|
* libc_r before this version of FreeBSD doesn't have poll().
|
|
--- ../pr/src/misc/prnetdb.c
|
|
+++ ../pr/src/misc/prnetdb.c
|
|
@@ -78,11 +78,6 @@ PRLock *_pr_dnsLock = NULL;
|
|
#define _PR_HAVE_GETPROTO_R_INT
|
|
#endif
|
|
|
|
-#if __FreeBSD_version >= 602000
|
|
-#define _PR_HAVE_GETPROTO_R
|
|
-#define _PR_HAVE_5_ARG_GETPROTO_R
|
|
-#endif
|
|
-
|
|
/* BeOS has glibc but not the glibc-style getprotobyxxx_r functions. */
|
|
#if (defined(__GLIBC__) && __GLIBC__ >= 2 && !defined(XP_BEOS))
|
|
#define _PR_HAVE_GETPROTO_R
|