summaryrefslogtreecommitdiffstats
path: root/net/nginx/patches/nginx-mod-njs/101-feature_test_fix.patch
blob: d7c220d7872bb48254ee8318972dae53cdea4ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--- a/nginx-mod-njs/auto/explicit_bzero
+++ b/nginx-mod-njs/auto/explicit_bzero
@@ -7,7 +7,7 @@
 
 njs_feature="explicit_bzero()"
 njs_feature_name=NJS_HAVE_EXPLICIT_BZERO
-njs_feature_run=yes
+njs_feature_run=no
 njs_feature_incs=
 njs_feature_libs=
 njs_feature_test="#include <strings.h>
--- a/nginx-mod-njs/auto/getrandom
+++ b/nginx-mod-njs/auto/getrandom
@@ -7,7 +7,7 @@
 
 njs_feature="getrandom()"
 njs_feature_name=NJS_HAVE_GETRANDOM
-njs_feature_run=yes
+njs_feature_run=no
 njs_feature_incs=
 njs_feature_libs=
 njs_feature_test="#include <unistd.h>
@@ -76,6 +76,7 @@ if [ $njs_found = no ]; then
 
     njs_feature="getentropy()"
     njs_feature_name=NJS_HAVE_GETENTROPY
+    njs_feature_run=no
     njs_feature_test="#include <unistd.h>
 
                       int main(void) {
--- a/nginx-mod-njs/auto/memalign
+++ b/nginx-mod-njs/auto/memalign
@@ -8,7 +8,7 @@
 
 njs_feature="posix_memalign()"
 njs_feature_name=NJS_HAVE_POSIX_MEMALIGN
-njs_feature_run=yes
+njs_feature_run=no
 njs_feature_incs=
 njs_feature_libs=
 njs_feature_test="#include <stdlib.h>
@@ -31,7 +31,7 @@ if [ $njs_found = no ]; then
 
     njs_feature="memalign()"
     njs_feature_name=NJS_HAVE_MEMALIGN
-    njs_feature_run=yes
+    njs_feature_run=no
     njs_feature_incs=
     njs_feature_libs=
     njs_feature_test="#include <stdlib.h>
--- a/nginx-mod-njs/auto/time
+++ b/nginx-mod-njs/auto/time
@@ -5,7 +5,7 @@
 
 njs_feature="clock_gettime(CLOCK_MONOTONIC)"
 njs_feature_name=NJS_HAVE_CLOCK_MONOTONIC
-njs_feature_run=yes
+njs_feature_run=no
 njs_feature_incs=
 njs_feature_libs=
 njs_feature_test="#include <time.h>