patches/libelf/0.8.12/100-fix-64-bit-detection.patch
changeset 1562 fdf936326ccd
parent 1439 2fbb4aea2a88
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/libelf/0.8.12/100-fix-64-bit-detection.patch	Sun Oct 04 11:25:34 2009 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure
     1.5 +--- libelf-0.8.10.orig/configure	2007-09-07 14:08:06.000000000 +0200
     1.6 ++++ libelf-0.8.10/configure	2008-10-23 22:43:19.000000000 +0200
     1.7 +@@ -1595,7 +1595,7 @@
     1.8 +   echo $ac_n "(cached) $ac_c" 1>&6
     1.9 + else
    1.10 +   if test "$cross_compiling" = yes; then
    1.11 +-  ac_cv_sizeof_long_long=0
    1.12 ++  ac_cv_sizeof_long_long=8
    1.13 + else
    1.14 +   cat > conftest.$ac_ext <<EOF
    1.15 + #line 1602 "configure"
    1.16 +diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
    1.17 +--- libelf-0.8.10.orig/configure.in	2007-09-07 14:07:59.000000000 +0200
    1.18 ++++ libelf-0.8.10/configure.in	2008-10-23 22:43:10.000000000 +0200
    1.19 +@@ -90,7 +90,7 @@
    1.20 + AC_CHECK_SIZEOF(short,2)
    1.21 + AC_CHECK_SIZEOF(int,4)
    1.22 + AC_CHECK_SIZEOF(long,4)
    1.23 +-AC_CHECK_SIZEOF(long long,0)
    1.24 ++AC_CHECK_SIZEOF(long long,8)
    1.25 + # Windows port
    1.26 + AC_CHECK_SIZEOF(__int64, 0)
    1.27 +