[oe] [PATCH] postgresql-8.1.8 : fix configure

Eric Bénard eric at eukrea.com
Thu Aug 26 21:29:29 UTC 2010


without this patch, using angstrom 2010.x on armv6 I actually get :
| checking alignment of short... configure: error:
                       cannot compute alignment of short, 77
| ERROR: Function do_configure failed
NOTE: package postgresql-8.1.8-r4: task do_configure: Failed

Signed-off-by: Eric Bénard <eric at eukrea.com>
---
 site/arm-common |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/site/arm-common b/site/arm-common
index 20de8c5..1554c8f 100644
--- a/site/arm-common
+++ b/site/arm-common
@@ -166,6 +166,13 @@ ac_cv_pwrite=${ac_cv_pwrite=no}
 php_cv_lib_cookie_io_functions_use_off64_t=${php_cv_lib_cookie_io_functions_use_off64_t=yes}
 cv_php_mbstring_stdarg=${cv_php_mbstring_stdarg=yes}
 
+# postgresql
+pgac_cv_alignof_short=2
+pgac_cv_alignof_int=4
+pgac_cv_alignof_long=4
+pgac_cv_alignof_long_long_int=8
+pgac_cv_alignof_double=8
+
 # rsync
 rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no}
 rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes}
-- 
1.6.3.3





More information about the Openembedded-devel mailing list