summaryrefslogtreecommitdiffstats
path: root/testing/source/binutils/patches/binutils-2.25-set-long-long.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-02-02 07:04:21 +0000
committer Eric Hameleers <alien@slackware.com>2020-02-02 17:59:32 +0100
commit0b67de0df533e1bab9e1f52ce62c45327f2fc5ae (patch)
tree56a2891b3705f433f1dc7ea419ac7a6eb4c2a592 /testing/source/binutils/patches/binutils-2.25-set-long-long.patch
parent60e10a77d877df3139154896131eb50e5f6b1a61 (diff)
downloadcurrent-6857ce43c36bca920812ad0169120abe676711c5.tar.gz
current-6857ce43c36bca920812ad0169120abe676711c5.tar.xz
Sun Feb 2 07:04:21 UTC 202020200202070421
testing/packages/binutils-2.34-x86_64-1.txz: Added. testing/packages/glibc-2.31-x86_64-1.txz: Added. testing/packages/glibc-i18n-2.31-x86_64-1.txz: Added. testing/packages/glibc-profile-2.31-x86_64-1.txz: Added. testing/packages/glibc-solibs-2.31-x86_64-1.txz: Added.
Diffstat (limited to 'testing/source/binutils/patches/binutils-2.25-set-long-long.patch')
-rw-r--r--testing/source/binutils/patches/binutils-2.25-set-long-long.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/source/binutils/patches/binutils-2.25-set-long-long.patch b/testing/source/binutils/patches/binutils-2.25-set-long-long.patch
new file mode 100644
index 000000000..1ea741811
--- /dev/null
+++ b/testing/source/binutils/patches/binutils-2.25-set-long-long.patch
@@ -0,0 +1,38 @@
+diff -up binutils-2.25.orig/bfd/configure.ac binutils-2.25/bfd/configure.ac
+--- binutils-2.25.orig/bfd/configure.ac 2014-12-24 10:34:45.590491143 +0000
++++ binutils-2.25/bfd/configure.ac 2014-12-24 10:36:12.997981992 +0000
+@@ -183,11 +183,13 @@ if test "x${ac_cv_sizeof_long}" = "x8";
+ BFD_HOST_64BIT_LONG=1
+ test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
+ test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
+-elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
++fi
++if test "x${ac_cv_sizeof_long_long}" = "x8"; then
+ BFD_HOST_64BIT_LONG_LONG=1
+ test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
+ test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
+- if test "x${ac_cv_sizeof_void_p}" = "x8"; then
++ if test "x${ac_cv_sizeof_void_p}" = "x8" \
++ -a "x${ac_cv_sizeof_long}" != "x8"; then
+ BFD_HOSTPTR_T="unsigned long long"
+ fi
+ fi
+diff -up ../binutils-2.20.51.0.7.original/bfd/configure ./bfd/configure
+--- a/bfd/configure 2010-04-08 15:23:58.000000000 +0100
++++ b/bfd/configure 2010-04-08 15:24:06.000000000 +0100
+@@ -12819,11 +12819,13 @@
+ BFD_HOST_64BIT_LONG=1
+ test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
+ test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
+-elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
++fi
++if test "x${ac_cv_sizeof_long_long}" = "x8"; then
+ BFD_HOST_64BIT_LONG_LONG=1
+ test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
+ test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
+- if test "x${ac_cv_sizeof_void_p}" = "x8"; then
++ if test "x${ac_cv_sizeof_void_p}" = "x8" \
++ -a "x${ac_cv_sizeof_long}" != "x8"; then
+ BFD_HOSTPTR_T="unsigned long long"
+ fi
+ fi