From: Bob Foerster Date: Fri, 5 Nov 2010 06:06:21 +0000 (+0000) Subject: postgresql-8.1.8 : fix configure on x86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8eee50f8c1bc4f3d40bd3d8f6b18c1c68b5cdd5;p=openembedded.git postgresql-8.1.8 : fix configure on x86 Without this patch, postgres fails on configure: | checking alignment of int... configure: error: cannot compute alignment of int, 77 NOTE: package postgresql-8.1.8-r4: task do_configure: Failed Similar fix for arm was in 5fa3d153. Signed-off-by: Bob Foerster Signed-off-by: Khem Raj --- diff --git a/site/ix86-common b/site/ix86-common index 5323c7af7c..8a4a4c3ef3 100644 --- a/site/ix86-common +++ b/site/ix86-common @@ -202,6 +202,13 @@ rsync_cv_HAVE_SECURE_MKSTEMP=${rsync_cv_HAVE_SECURE_MKSTEMP=yes} rsync_cv_REPLACE_INET_NTOA=${rsync_cv_REPLACE_INET_NTOA=no} rsync_cv_REPLACE_INET_ATON=${rsync_cv_REPLACE_INET_ATON=no} +# 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 + # samba samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}