summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-04 09:25:34 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-04 09:25:34 (GMT)
commita14d72bf4f1a8b8986a745d1d26e3958f9e10bc4 (patch)
tree0a651a2493c2e27e9b0dccdad5bfd1d74a133dc2 /patches
parent9b9be141ee4b9a140c9cd4c9eae7c7b4385822ec (diff)
libelf: add libelf-0.8.12
Diffstat (limited to 'patches')
-rw-r--r--patches/libelf/0.8.12/100-fix-64-bit-detection.patch24
1 files changed, 24 insertions, 0 deletions
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 <<EOF
+ #line 1602 "configure"
+diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
+--- libelf-0.8.10.orig/configure.in 2007-09-07 14:07:59.000000000 +0200
++++ libelf-0.8.10/configure.in 2008-10-23 22:43:10.000000000 +0200
+@@ -90,7 +90,7 @@
+ AC_CHECK_SIZEOF(short,2)
+ AC_CHECK_SIZEOF(int,4)
+ AC_CHECK_SIZEOF(long,4)
+-AC_CHECK_SIZEOF(long long,0)
++AC_CHECK_SIZEOF(long long,8)
+ # Windows port
+ AC_CHECK_SIZEOF(__int64, 0)
+