From a14d72bf4f1a8b8986a745d1d26e3958f9e10bc4 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 4 Oct 2009 11:25:34 +0200 Subject: libelf: add libelf-0.8.12 diff --git a/config/tools/libelf.in b/config/tools/libelf.in index 0165a39..10ed90c 100644 --- a/config/tools/libelf.in +++ b/config/tools/libelf.in @@ -11,6 +11,10 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW +config LIBELF_V_0_8_12 + bool + prompt "0.8.12" + config LIBELF_V_0_8_11 bool prompt "0.8.11" @@ -25,5 +29,6 @@ config LIBELF_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "0.8.12" if LIBELF_V_0_8_12 default "0.8.11" if LIBELF_V_0_8_11 default "0.8.10" if LIBELF_V_0_8_10 diff --git a/patches/libelf/0.8.12/100-fix-64-bit-detection.patch b/patches/libelf/0.8.12/100-fix-64-bit-detection.patch new file mode 100644 index 0000000..7995443 --- /dev/null +++ b/patches/libelf/0.8.12/100-fix-64-bit-detection.patch @@ -0,0 +1,24 @@ +diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure +--- libelf-0.8.10.orig/configure 2007-09-07 14:08:06.000000000 +0200 ++++ libelf-0.8.10/configure 2008-10-23 22:43:19.000000000 +0200 +@@ -1595,7 +1595,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + if test "$cross_compiling" = yes; then +- ac_cv_sizeof_long_long=0 ++ ac_cv_sizeof_long_long=8 + else + cat > conftest.$ac_ext <