patches/libelf/0.8.10/100-fix-64-bit-detection.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 24 22:04:14 2009 +0000 (2009-05-24)
branchgcc-4.4
changeset 1380 945dc995daa7
permissions -rw-r--r--
/devel/gcc-4.4:
- add support for building CLooG

-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 60 60 0 0 ++++++++++++++++++++++++++++++++++
/devel/gcc-4.4/scripts/addToolVersion.sh | 3 2 1 0 +-
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/devel/gcc-4.4/steps.mk | 1 1 0 0 +
/devel/gcc-4.4/config/companion_libs/cloog.in | 32 32 0 0 ++++++++++++++++++
/devel/gcc-4.4/config/companion_libs.in | 1 1 0 0 +
6 files changed, 99 insertions(+), 1 deletion(-)
     1 diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure
     2 --- libelf-0.8.10.orig/configure	2007-09-07 14:08:06.000000000 +0200
     3 +++ libelf-0.8.10/configure	2008-10-23 22:43:19.000000000 +0200
     4 @@ -1595,7 +1595,7 @@
     5    echo $ac_n "(cached) $ac_c" 1>&6
     6  else
     7    if test "$cross_compiling" = yes; then
     8 -  ac_cv_sizeof_long_long=0
     9 +  ac_cv_sizeof_long_long=8
    10  else
    11    cat > conftest.$ac_ext <<EOF
    12  #line 1602 "configure"
    13 diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
    14 --- libelf-0.8.10.orig/configure.in	2007-09-07 14:07:59.000000000 +0200
    15 +++ libelf-0.8.10/configure.in	2008-10-23 22:43:10.000000000 +0200
    16 @@ -90,7 +90,7 @@
    17  AC_CHECK_SIZEOF(short,2)
    18  AC_CHECK_SIZEOF(int,4)
    19  AC_CHECK_SIZEOF(long,4)
    20 -AC_CHECK_SIZEOF(long long,0)
    21 +AC_CHECK_SIZEOF(long long,8)
    22  # Windows port
    23  AC_CHECK_SIZEOF(__int64, 0)
    24