1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/www/firefox/files/patch-media-webrtc-trunk-src-system_wrappers-source-thread_posix.cc
Florian Smeets e676e2910f - update www/firefox to 18.0
- update www/firefox-esr to 17.0.2
- update www/seamonkey to 2.15 (enigmail to 1.5.0)
- remove QT4 option to avoid confusion (it turned out to be too experimental)

In collaboration with: Jan Beich <jbeich@tormail.org>

Security:	http://www.vuxml.org/freebsd/a4ed6632-5aa9-11e2-8fcb-c8600054b392.html
2013-01-10 22:29:23 +00:00

17 lines
456 B
C++

--- media/webrtc/trunk/src/system_wrappers/source/thread_posix.cc~
+++ media/webrtc/trunk/src/system_wrappers/source/thread_posix.cc
@@ -62,7 +62,13 @@
#include <lwp.h>
#elif defined(__FreeBSD__)
#include <sys/param.h>
+#if __FreeBSD_version > 802500
#include <sys/thr.h>
+#else
+_Pragma("GCC visibility push(default)")
+extern "C" int thr_self(long *);
+_Pragma("GCC visibility pop")
+#endif
#endif
#if defined(WEBRTC_BSD) && !defined(__NetBSD__)