diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch')
-rw-r--r-- | meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch | 56 |
1 files changed, 30 insertions, 26 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch b/meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch index 5e96644aa..0a18bcd33 100644 --- a/meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch +++ b/meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch | |||
@@ -3,10 +3,11 @@ We do not have capability to run binaries when cross compiling | |||
3 | Upstream-Status: Pending | 3 | Upstream-Status: Pending |
4 | 4 | ||
5 | 5 | ||
6 | diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature | 6 | Index: nginx-1.12.2/auto/feature |
7 | --- nginx-1.0.11.orig/auto/feature 2011-05-11 06:50:19.000000000 -0500 | 7 | =================================================================== |
8 | +++ nginx-1.0.11/auto/feature 2011-12-27 13:56:42.323370040 -0600 | 8 | --- nginx-1.12.2.orig/auto/feature |
9 | @@ -49,12 +49,20 @@ | 9 | +++ nginx-1.12.2/auto/feature |
10 | @@ -49,12 +49,20 @@ eval "/bin/sh -c \"$ngx_test\" >> $NGX_A | ||
10 | 11 | ||
11 | if [ -x $NGX_AUTOTEST ]; then | 12 | if [ -x $NGX_AUTOTEST ]; then |
12 | 13 | ||
@@ -29,7 +30,7 @@ diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature | |||
29 | ngx_found=yes | 30 | ngx_found=yes |
30 | 31 | ||
31 | if test -n "$ngx_feature_name"; then | 32 | if test -n "$ngx_feature_name"; then |
32 | @@ -68,17 +75,27 @@ | 33 | @@ -68,17 +76,27 @@ if [ -x $NGX_AUTOTEST ]; then |
33 | 34 | ||
34 | value) | 35 | value) |
35 | # /bin/sh is used to intercept "Killed" or "Abort trap" messages | 36 | # /bin/sh is used to intercept "Killed" or "Abort trap" messages |
@@ -61,7 +62,7 @@ diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature | |||
61 | else | 62 | else |
62 | echo " found but is not working" | 63 | echo " found but is not working" |
63 | fi | 64 | fi |
64 | @@ -86,7 +105,7 @@ | 65 | @@ -86,7 +104,7 @@ END |
65 | 66 | ||
66 | bug) | 67 | bug) |
67 | # /bin/sh is used to intercept "Killed" or "Abort trap" messages | 68 | # /bin/sh is used to intercept "Killed" or "Abort trap" messages |
@@ -70,10 +71,11 @@ diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature | |||
70 | echo " not found" | 71 | echo " not found" |
71 | 72 | ||
72 | else | 73 | else |
73 | diff -uraN nginx-1.0.11.orig/auto/options nginx-1.0.11/auto/options | 74 | Index: nginx-1.12.2/auto/options |
74 | --- nginx-1.0.11.orig/auto/options 2011-12-14 07:34:16.000000000 -0600 | 75 | =================================================================== |
75 | +++ nginx-1.0.11/auto/options 2011-12-27 13:56:42.323370040 -0600 | 76 | --- nginx-1.12.2.orig/auto/options |
76 | @@ -353,6 +353,18 @@ | 77 | +++ nginx-1.12.2/auto/options |
78 | @@ -386,6 +386,18 @@ $0: warning: the \"--with-sha1-asm\" opt | ||
77 | --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;; | 79 | --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;; |
78 | --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;; | 80 | --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;; |
79 | 81 | ||
@@ -92,7 +94,7 @@ diff -uraN nginx-1.0.11.orig/auto/options nginx-1.0.11/auto/options | |||
92 | *) | 94 | *) |
93 | echo "$0: error: invalid option \"$option\"" | 95 | echo "$0: error: invalid option \"$option\"" |
94 | exit 1 | 96 | exit 1 |
95 | @@ -533,6 +445,17 @@ | 97 | @@ -568,6 +580,17 @@ cat << END |
96 | 98 | ||
97 | --with-debug enable debug logging | 99 | --with-debug enable debug logging |
98 | 100 | ||
@@ -110,7 +112,7 @@ diff -uraN nginx-1.0.11.orig/auto/options nginx-1.0.11/auto/options | |||
110 | END | 112 | END |
111 | 113 | ||
112 | exit 1 | 114 | exit 1 |
113 | @@ -554,6 +577,8 @@ | 115 | @@ -576,6 +599,8 @@ fi |
114 | 116 | ||
115 | if [ ".$NGX_PLATFORM" = ".win32" ]; then | 117 | if [ ".$NGX_PLATFORM" = ".win32" ]; then |
116 | NGX_WINE=$WINE | 118 | NGX_WINE=$WINE |
@@ -119,10 +121,11 @@ diff -uraN nginx-1.0.11.orig/auto/options nginx-1.0.11/auto/options | |||
119 | fi | 121 | fi |
120 | 122 | ||
121 | 123 | ||
122 | diff -uraN nginx-1.0.11.orig/auto/types/sizeof nginx-1.0.11/auto/types/sizeof | 124 | Index: nginx-1.12.2/auto/types/sizeof |
123 | --- nginx-1.0.11.orig/auto/types/sizeof 2006-06-28 11:00:26.000000000 -0500 | 125 | =================================================================== |
124 | +++ nginx-1.0.11/auto/types/sizeof 2011-12-27 13:56:42.323370040 -0600 | 126 | --- nginx-1.12.2.orig/auto/types/sizeof |
125 | @@ -12,9 +12,12 @@ | 127 | +++ nginx-1.12.2/auto/types/sizeof |
128 | @@ -12,9 +12,12 @@ checking for $ngx_type size | ||
126 | 129 | ||
127 | END | 130 | END |
128 | 131 | ||
@@ -137,7 +140,7 @@ diff -uraN nginx-1.0.11.orig/auto/types/sizeof nginx-1.0.11/auto/types/sizeof | |||
137 | 140 | ||
138 | #include <sys/types.h> | 141 | #include <sys/types.h> |
139 | #include <sys/time.h> | 142 | #include <sys/time.h> |
140 | @@ -33,15 +36,16 @@ | 143 | @@ -33,15 +36,16 @@ int main(void) { |
141 | END | 144 | END |
142 | 145 | ||
143 | 146 | ||
@@ -160,10 +163,11 @@ diff -uraN nginx-1.0.11.orig/auto/types/sizeof nginx-1.0.11/auto/types/sizeof | |||
160 | fi | 163 | fi |
161 | 164 | ||
162 | 165 | ||
163 | diff -uraN nginx-1.0.11.orig/auto/unix nginx-1.0.11/auto/unix | 166 | Index: nginx-1.12.2/auto/unix |
164 | --- nginx-1.0.11.orig/auto/unix 2011-12-14 07:34:16.000000000 -0600 | 167 | =================================================================== |
165 | +++ nginx-1.0.11/auto/unix 2011-12-27 13:56:42.327370060 -0600 | 168 | --- nginx-1.12.2.orig/auto/unix |
166 | @@ -393,13 +393,13 @@ | 169 | +++ nginx-1.12.2/auto/unix |
170 | @@ -587,13 +587,13 @@ ngx_feature_libs= | ||
167 | 171 | ||
168 | # C types | 172 | # C types |
169 | 173 | ||
@@ -181,8 +185,8 @@ diff -uraN nginx-1.0.11.orig/auto/unix nginx-1.0.11/auto/unix | |||
181 | ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_size; . auto/types/value | 185 | ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_size; . auto/types/value |
182 | 186 | ||
183 | 187 | ||
184 | @@ -416,7 +416,7 @@ | 188 | @@ -604,7 +604,7 @@ NGX_INCLUDE_AUTO_CONFIG_H="#include \"ng |
185 | 189 | ngx_type="uint32_t"; ngx_types="u_int32_t"; . auto/types/typedef | |
186 | ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef | 190 | ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef |
187 | 191 | ||
188 | -ngx_type="sig_atomic_t"; ngx_types="int"; . auto/types/typedef | 192 | -ngx_type="sig_atomic_t"; ngx_types="int"; . auto/types/typedef |
@@ -190,9 +194,9 @@ diff -uraN nginx-1.0.11.orig/auto/unix nginx-1.0.11/auto/unix | |||
190 | . auto/types/sizeof | 194 | . auto/types/sizeof |
191 | ngx_param=NGX_SIG_ATOMIC_T_SIZE; ngx_value=$ngx_size; . auto/types/value | 195 | ngx_param=NGX_SIG_ATOMIC_T_SIZE; ngx_value=$ngx_size; . auto/types/value |
192 | 196 | ||
193 | @@ -432,15 +432,15 @@ | 197 | @@ -620,15 +620,15 @@ ngx_type="rlim_t"; ngx_types="int"; . au |
194 | 198 | ||
195 | . auto/endianess | 199 | . auto/endianness |
196 | 200 | ||
197 | -ngx_type="size_t"; . auto/types/sizeof | 201 | -ngx_type="size_t"; . auto/types/sizeof |
198 | +ngx_type="size_t"; ngx_param="SIZE_T"; . auto/types/sizeof | 202 | +ngx_type="size_t"; ngx_param="SIZE_T"; . auto/types/sizeof |
@@ -208,4 +212,4 @@ diff -uraN nginx-1.0.11.orig/auto/unix nginx-1.0.11/auto/unix | |||
208 | +ngx_type="time_t"; ngx_param="TIME_T"; . auto/types/sizeof | 212 | +ngx_type="time_t"; ngx_param="TIME_T"; . auto/types/sizeof |
209 | ngx_param=NGX_TIME_T_SIZE; ngx_value=$ngx_size; . auto/types/value | 213 | ngx_param=NGX_TIME_T_SIZE; ngx_value=$ngx_size; . auto/types/value |
210 | ngx_param=NGX_TIME_T_LEN; ngx_value=$ngx_max_len; . auto/types/value | 214 | ngx_param=NGX_TIME_T_LEN; ngx_value=$ngx_max_len; . auto/types/value |
211 | 215 | ngx_param=NGX_MAX_TIME_T_VALUE; ngx_value=$ngx_max_value; . auto/types/value | |