ports/www/nginx-devel/files/extra-patch-passenger-implementation.cpp
Sergey A. Osokin 4e51506ec9 www/nginx-devel: update third-party modules...
to their recent snapshots or versions:
o) array-var
o) aws_auth
o) ct
o) echo
o) dynamic_upstream
o) encrypted-session
o) headers_more
o) http-auth-digest
o) auth-ldap
o) auth_pam
o) eval
o) fancyindex
o) geoip2
o) ip2location
o) http_json_status
o) passenger

Bump PORTREVISION.
2025-02-04 14:29:32 -05:00

14 lines
544 B
C++

--- ../passenger-6.0.24/src/cxx_supportlib/oxt/implementation.cpp.orig 2013-10-26 20:00:00.000000000 -0400
+++ ../passenger-6.0.24/src/cxx_supportlib/oxt/implementation.cpp 2025-02-04 14:00:31.804615000 -0500
@@ -397,9 +397,9 @@
static void
set_native_thread_name(const string &name) {
- #if defined(__linux__)
+ #if defined(__linux__) || defined(__FreeBSD__)
pthread_setname_np(pthread_self(), name.c_str());
- #elif defined(__APPLE__) || defined(__FreeBSD__)
+ #elif defined(__APPLE__)
pthread_setname_np(name.c_str());
#endif
}