summaryrefslogtreecommitdiff
path: root/www/unit/files/patch-auto_njs
diff options
context:
space:
mode:
Diffstat (limited to 'www/unit/files/patch-auto_njs')
-rw-r--r--www/unit/files/patch-auto_njs22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/unit/files/patch-auto_njs b/www/unit/files/patch-auto_njs
new file mode 100644
index 000000000000..a4cbc6ec8d3c
--- /dev/null
+++ b/www/unit/files/patch-auto_njs
@@ -0,0 +1,22 @@
+--- auto/njs.orig 2025-02-27 22:02:21 UTC
++++ auto/njs
+@@ -25,8 +25,8 @@ nxt_feature_test="#include <njs.h>
+ nxt_feature_libs="$NXT_NJS_LIBS $NXT_NJS_AUX_LIBS"
+ nxt_feature_test="#include <njs.h>
+
+- #if NJS_VERSION_NUMBER < 0x000803
+- # error njs < 0.8.3 is not supported.
++ #if NJS_VERSION_NUMBER < 0x000900
++ # error njs < 0.9.0 is not supported.
+ #endif
+
+ int main(void) {
+@@ -44,7 +44,7 @@ if [ $nxt_found = no ]; then
+
+ if [ $nxt_found = no ]; then
+ $echo
+- $echo $0: error: no njs library \>= 0.8.3 found.
++ $echo $0: error: no njs library \>= 0.9.0 found.
+ $echo
+ exit 1;
+ fi