From cc1aaf381aa3d249e0557867034f8d9d0d54bda2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 15 Dec 2010 09:42:56 +0000 Subject: [PATCH] [packages] ipmitool: fix autoreconf SVN-Revision: 24599 --- .../ipmitool/patches/101-cross_compile.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/utils/ipmitool/patches/101-cross_compile.patch b/utils/ipmitool/patches/101-cross_compile.patch index 89992e8a31..319fe635ea 100644 --- a/utils/ipmitool/patches/101-cross_compile.patch +++ b/utils/ipmitool/patches/101-cross_compile.patch @@ -10,3 +10,35 @@ else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ +--- a/configure.in ++++ b/configure.in +@@ -489,29 +489,6 @@ AC_ARG_ENABLE([file-security], + fi], []) + + +-AC_TRY_RUN([ +- #include +- +- struct packstruct { +- unsigned char t0 :5; +- unsigned char t1 :5; +- unsigned char t2 :5; +- unsigned char t3 :5; +- unsigned char t4 :4; +- } __attribute__ ((packed)); +- +- int +- main(int argc, char ** argv) +- { +- if(sizeof(struct packstruct) != 3) +- return(1); +- else +- return(0); +- } +- ],[],[AC_DEFINE(HAVE_PRAGMA_PACK,[1],[Define to 1 if you need to use #pragma pack instead of __attribute__ ((packed))])] +-) +- +- + dnl Generate files for build + AC_CONFIG_FILES([Makefile + doc/Makefile -- 2.30.2