summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-php/modphp/files/pthread-check.patch
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-07-17 11:31:54 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-10-03 14:36:40 +0100
commit418650c55d05724af398dc5fe1185b47bf788135 (patch)
tree91df4cc563705266a7d590d38ac4dbd376114f84 /meta-webserver/recipes-php/modphp/files/pthread-check.patch
parent25ba859ab6ca18fb0391802a39300c408ab13420 (diff)
downloadmeta-openembedded-418650c55d05724af398dc5fe1185b47bf788135.tar.gz
modphp: add from OE-Classic, update to 5.3.14 and fix
* Use working SRC_URI * Fix to use correct headers and apxs script for cross-compiling * Enable threading * Install headers and scripts for building extension modules * Use proper variables instead of /etc, /usr/lib etc. * Fix rpath QA issues * Add LIC_FILES_CHKSUM * Put apache config file into SRC_URI instead of referring to it using FILESDIR Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-webserver/recipes-php/modphp/files/pthread-check.patch')
-rw-r--r--meta-webserver/recipes-php/modphp/files/pthread-check.patch64
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 @@
1Hack configure script so it does not disable pthread support when cross-compiling
2
3Upstream-Status: Inapproprate [config]
4
5Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
6
7diff --git a/configure b/configure
8index 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