apr fixes v2
cover apr fixes v2
Since v1, rebase on latest master (removing now merged patch to add libtool) and use site file to set pid_t type.
The following changes since commit 54429dfcca0e35a3aeaa78e509240b87d6a8f4ac:
mklibs-native: Upgrade to 0.1.34 (2012-06-29 13:21:19 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/apr-fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/apr-fixes
Paul Eggleton (2):
apr: add util-linux to DEPENDS for libuuid site/common-linux: fix incorrect size of pid_t for apr
meta/recipes-support/apr/apr_1.4.6.bb | 3 ++- meta/site/common-linux | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
PATCH 1/2 apr: add util-linux to DEPENDS for libuuid
apr will use libuuid if it is present, and thus we should require that it is there so that we have a deterministic build.
--- meta/recipes-support/apr/apr_1.4.6.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-support/apr/apr_1.4.6.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "Apache Portable Runtime (APR) library" HOMEPAGE = "http://apr.apache.org/" SECTION = "libs" +DEPENDS = "util-linux" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \
Signature · 1 line
1.7.9.5
PATCH 2/2 site/common-linux: fix incorrect size of pid_t for apr
In reply to Paul EggletonIf 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.
--- meta/recipes-support/apr/apr_1.4.6.bb | 2 +- meta/site/common-linux | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meta/recipes-support/apr/apr_1.4.6.bb +1 -1
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \ BBCLASSEXTEND = "native" -PR = "r0" +PR = "r1" SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ file://configure_fixes.patch \
meta/site/common-linux +1 -0
@@ -1,5 +1,6 @@ # apr ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes} +ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4} # samba samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no}
Signature · 1 line
1.7.9.5
Quoted 4 lines · Paul Eggleton
Since v1, rebase on latest master (removing now merged patch to add libtool) and use site file to set
pid_ttype.
thanks for second iteration. Looks good now
Quoted 25 lines
The following changes since commit
54429dfcca0e35a3aeaa78e509240b87d6a8f4ac:mklibs-native: Upgrade to 0.1.34 (2012-06-29 13:21:19 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/apr-fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/apr-fixesPaul Eggleton (2):
apr: add util-linux to DEPENDS for libuuid site/common-linux: fix incorrect size ofpid_tfor aprmeta/recipes-support/apr/apr_1.4.6.bb | 3 ++-
meta/site/common-linux | 1 +2 files changed, 3 insertions(+), 1 deletion(-)--
1.7.9.5_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Saul Wold
AppliedQuoted 13 lines · Paul Eggleton
Since v1, rebase on latest master (removing now merged patch to add libtool) and use site file to set
pid_ttype.The following changes since commit
54429dfcca0e35a3aeaa78e509240b87d6a8f4ac:mklibs-native: Upgrade to 0.1.34 (2012-06-29 13:21:19 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribpaule/apr-fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/apr-fixes
Quoted 8 lines
Paul Eggleton (2):
apr: add util-linux to DEPENDS for libuuid site/common-linux: fix incorrect size ofpid_tfor aprmeta/recipes-support/apr/apr_1.4.6.bb | 3 ++- meta/site/common-linux | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)
Merged into OE-Core
Thanks
Sau!