diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-06-30 22:11:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-02 16:47:44 +0100 |
commit | d53c80fd9c02f8f74d6b0507bd826402e6397085 (patch) | |
tree | b46f382c11e11adc661b9be911d0a952ce654767 | |
parent | 3a39cbcce64908c3470dce1063b115615167d71f (diff) | |
download | poky-d53c80fd9c02f8f74d6b0507bd826402e6397085.tar.gz |
site/common-linux: fix incorrect size of pid_t for apr
If cross-compiling, apr's configure script assumes that pid_t is
64-bit which is wrong - it appears that 32-bit is a safe assumption
for Linux no matter what the architecture, so use that instead by
default.
This fixes Apache writing garbage to its pid file when built using apr
produced from this recipe.
(From OE-Core rev: 81eb71736a4d14abe85d810f9862d8a9421e9ef5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/apr/apr_1.4.6.bb | 2 | ||||
-rw-r--r-- | meta/site/common-linux | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes-support/apr/apr_1.4.6.bb index 54c47fee4e..896f79fe36 100644 --- a/meta/recipes-support/apr/apr_1.4.6.bb +++ b/meta/recipes-support/apr/apr_1.4.6.bb | |||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \ | |||
9 | 9 | ||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
11 | 11 | ||
12 | PR = "r0" | 12 | PR = "r1" |
13 | 13 | ||
14 | SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ | 14 | SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ |
15 | file://configure_fixes.patch \ | 15 | file://configure_fixes.patch \ |
diff --git a/meta/site/common-linux b/meta/site/common-linux index f441abb73a..8a9146eace 100644 --- a/meta/site/common-linux +++ b/meta/site/common-linux | |||
@@ -1,5 +1,6 @@ | |||
1 | # apr | 1 | # apr |
2 | ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes} | 2 | ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes} |
3 | ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4} | ||
3 | 4 | ||
4 | # samba | 5 | # samba |
5 | samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} | 6 | samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} |