aboutsummaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_nats.c20
-rw-r--r--www/nginx-devel/files/nginx.in1
2 files changed, 21 insertions, 0 deletions
diff --git a/www/nginx-devel/files/extra-patch-ngx_nats.c b/www/nginx-devel/files/extra-patch-ngx_nats.c
new file mode 100644
index 000000000000..76c3f2be7864
--- /dev/null
+++ b/www/nginx-devel/files/extra-patch-ngx_nats.c
@@ -0,0 +1,20 @@
+--- ../nginx-nats-6f7adf1/src/ngx_nats.c.orig 2025-07-25 14:52:57.670444000 -0400
++++ ../nginx-nats-6f7adf1/src/ngx_nats.c 2025-07-25 14:53:04.538387000 -0400
+@@ -55,7 +55,7 @@
+ * we can use for uniqueness and to reach the router in testing.
+ */
+
+-#if (NGX_LINUX) || (NGX_DARWIN)
++#if (NGX_LINUX) || (NGX_DARWIN) || (NGX_FREEBSD)
+ #include <net/if.h>
+ #include <ifaddrs.h>
+ #elif (NGX_WIN32)
+@@ -585,7 +585,7 @@
+ {
+ /* TODO: port to Windows when need it, extend to other platforms. */
+
+-#if (NGX_LINUX) || (NGX_DARWIN)
++#if (NGX_LINUX) || (NGX_DARWIN) || (NGX_FREEBSD)
+
+ struct ifaddrs *ifaddrs, *ifa;
+ int rc, family;
diff --git a/www/nginx-devel/files/nginx.in b/www/nginx-devel/files/nginx.in
index daba266d9192..5ec438dd7342 100644
--- a/www/nginx-devel/files/nginx.in
+++ b/www/nginx-devel/files/nginx.in
@@ -69,6 +69,7 @@ if [ -n "$2" ]; then
required_files="${nginx_configfile}"
eval nginx_enable="\${nginx_${profile}_enable:-${nginx_enable}}"
eval nginx_flags="\${nginx_${profile}_flags:-${nginx_flags}}"
+ eval nginx_svcj_options="\${nginx_${profile}_svcj_options:-${nginx_svcj_options}}"
eval nginxlimits_enable="\${nginxlimits_${profile}_enable:-${nginxlimits_enable}}"
eval nginxlimits_args="\${nginxlimits_${profile}_args:-${nginxlimits_args}}"
nginx_flags="-c ${nginx_configfile} -g \"pid ${pidfile};\" ${nginx_flags}"