diff options
Diffstat (limited to 'meta-webserver/recipes-php/modphp/files/pthread-check.patch')
-rw-r--r-- | meta-webserver/recipes-php/modphp/files/pthread-check.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-webserver/recipes-php/modphp/files/pthread-check.patch b/meta-webserver/recipes-php/modphp/files/pthread-check.patch new file mode 100644 index 000000000..1388b2b0b --- /dev/null +++ b/meta-webserver/recipes-php/modphp/files/pthread-check.patch | |||
@@ -0,0 +1,64 @@ | |||
1 | Hack configure script so it does not disable pthread support when cross-compiling | ||
2 | |||
3 | Upstream-Status: Inapproprate [config] | ||
4 | |||
5 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
6 | |||
7 | diff --git a/configure b/configure | ||
8 | index 03d8f95..6794d45 100755 | ||
9 | --- a/configure | ||
10 | +++ b/configure | ||
11 | @@ -3506,7 +3506,7 @@ fi | ||
12 | |||
13 | if test "$cross_compiling" = yes; then | ||
14 | |||
15 | - pthreads_working=no | ||
16 | + pthreads_working=yes | ||
17 | case $host_alias in | ||
18 | *netware*) | ||
19 | pthreads_working=yes | ||
20 | @@ -3566,7 +3566,7 @@ else | ||
21 | |||
22 | if test "$cross_compiling" = yes; then | ||
23 | |||
24 | - pthreads_working=no | ||
25 | + pthreads_working=yes | ||
26 | case $host_alias in | ||
27 | *netware*) | ||
28 | pthreads_working=yes | ||
29 | @@ -3636,7 +3636,7 @@ if test "$pthreads_working" != "yes"; then | ||
30 | |||
31 | if test "$cross_compiling" = yes; then | ||
32 | |||
33 | - pthreads_working=no | ||
34 | + pthreads_working=yes | ||
35 | case $host_alias in | ||
36 | *netware*) | ||
37 | pthreads_working=yes | ||
38 | @@ -106833,7 +106833,7 @@ fi | ||
39 | |||
40 | if test "$cross_compiling" = yes; then | ||
41 | |||
42 | - pthreads_working=no | ||
43 | + pthreads_working=yes | ||
44 | case $host_alias in | ||
45 | *netware*) | ||
46 | pthreads_working=yes | ||
47 | @@ -106893,7 +106893,7 @@ else | ||
48 | |||
49 | if test "$cross_compiling" = yes; then | ||
50 | |||
51 | - pthreads_working=no | ||
52 | + pthreads_working=yes | ||
53 | case $host_alias in | ||
54 | *netware*) | ||
55 | pthreads_working=yes | ||
56 | @@ -106963,7 +106963,7 @@ if test "$pthreads_working" != "yes"; then | ||
57 | |||
58 | if test "$cross_compiling" = yes; then | ||
59 | |||
60 | - pthreads_working=no | ||
61 | + pthreads_working=yes | ||
62 | case $host_alias in | ||
63 | *netware*) | ||
64 | pthreads_working=yes | ||