ports/www/unit/files/patch-auto_njs
Sergey A. Osokin 641386d44e */*: update NGINX JavaScript: 0.8.10 -> 0.9.0 (+)
The patches applied to the www/unit are based on
https://github.com/nginx/unit/pull/1611/

Thanks to:	Andrew Clayton <a.clayton@nginx.com>

<ChangeLog>

 Core:

 *) Feature: refactored working with built-in strings, symbols
    and small integers.
    Performance improvements (arewefastyet/benchmarks/v8-v7 benchmark):
    Richards: +57% (631 → 989)
    Crypto: +7% (1445 → 1551)
    RayTrace: +37% (562 → 772)
    NavierStokes: +20% (2062 → 2465)
    Overall score: +29% (1014 → 1307)

*) Bugfix: fixed regexp undefined value of captured group.

*) Bugfix: fixed GCC 15 build with -Wunterminated-string-initialization.

</ChangeLog>
2025-05-10 20:49:23 -04:00

23 lines
705 B
Plaintext

--- 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