diff options
author | Alexey Neyman <stilor@att.net> | 2017-07-13 07:38:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-13 07:38:03 (GMT) |
commit | 45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch) | |
tree | 8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/libelf/0.8.13/100-fix-64-bit-detection.patch | |
parent | 8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff) | |
parent | b32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff) |
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/libelf/0.8.13/100-fix-64-bit-detection.patch')
-rw-r--r-- | packages/libelf/0.8.13/100-fix-64-bit-detection.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/libelf/0.8.13/100-fix-64-bit-detection.patch b/packages/libelf/0.8.13/100-fix-64-bit-detection.patch new file mode 100644 index 0000000..7995443 --- /dev/null +++ b/packages/libelf/0.8.13/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) + |