1.1 --- a/config/tools/libelf.in Sat Oct 03 18:49:51 2009 +0200
1.2 +++ b/config/tools/libelf.in Sun Oct 04 11:25:34 2009 +0200
1.3 @@ -11,6 +11,10 @@
1.4 # Don't remove next line
1.5 # CT_INSERT_VERSION_BELOW
1.6
1.7 +config LIBELF_V_0_8_12
1.8 + bool
1.9 + prompt "0.8.12"
1.10 +
1.11 config LIBELF_V_0_8_11
1.12 bool
1.13 prompt "0.8.11"
1.14 @@ -25,5 +29,6 @@
1.15 string
1.16 # Don't remove next line
1.17 # CT_INSERT_VERSION_STRING_BELOW
1.18 + default "0.8.12" if LIBELF_V_0_8_12
1.19 default "0.8.11" if LIBELF_V_0_8_11
1.20 default "0.8.10" if LIBELF_V_0_8_10
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/patches/libelf/0.8.12/100-fix-64-bit-detection.patch Sun Oct 04 11:25:34 2009 +0200
2.3 @@ -0,0 +1,24 @@
2.4 +diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure
2.5 +--- libelf-0.8.10.orig/configure 2007-09-07 14:08:06.000000000 +0200
2.6 ++++ libelf-0.8.10/configure 2008-10-23 22:43:19.000000000 +0200
2.7 +@@ -1595,7 +1595,7 @@
2.8 + echo $ac_n "(cached) $ac_c" 1>&6
2.9 + else
2.10 + if test "$cross_compiling" = yes; then
2.11 +- ac_cv_sizeof_long_long=0
2.12 ++ ac_cv_sizeof_long_long=8
2.13 + else
2.14 + cat > conftest.$ac_ext <<EOF
2.15 + #line 1602 "configure"
2.16 +diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
2.17 +--- libelf-0.8.10.orig/configure.in 2007-09-07 14:07:59.000000000 +0200
2.18 ++++ libelf-0.8.10/configure.in 2008-10-23 22:43:10.000000000 +0200
2.19 +@@ -90,7 +90,7 @@
2.20 + AC_CHECK_SIZEOF(short,2)
2.21 + AC_CHECK_SIZEOF(int,4)
2.22 + AC_CHECK_SIZEOF(long,4)
2.23 +-AC_CHECK_SIZEOF(long long,0)
2.24 ++AC_CHECK_SIZEOF(long long,8)
2.25 + # Windows port
2.26 + AC_CHECK_SIZEOF(__int64, 0)
2.27 +