aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-numpy/fix-undefined-functions-on-big-endian-systems.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/py-numpy/fix-undefined-functions-on-big-endian-systems.patch')
-rw-r--r--community/py-numpy/fix-undefined-functions-on-big-endian-systems.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/community/py-numpy/fix-undefined-functions-on-big-endian-systems.patch b/community/py-numpy/fix-undefined-functions-on-big-endian-systems.patch
deleted file mode 100644
index 9a965c59ab..0000000000
--- a/community/py-numpy/fix-undefined-functions-on-big-endian-systems.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From ec843c7008b3d89e6f6023b88ac0f1d02e39be17 Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Sat, 11 Aug 2018 02:45:01 -0400
-Subject: [PATCH] BUG: Fix undefined functions on big-endian systems.
-
-Both these functions are used by `Dragon4_PrintFloat_IEEE_binary128`,
-which was recently made available on big-endian systems without these
-in #11568.
----
- numpy/core/src/multiarray/dragon4.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/numpy/core/src/multiarray/dragon4.c b/numpy/core/src/multiarray/dragon4.c
-index abbf05220b1..2e599136efc 100644
---- a/numpy/core/src/multiarray/dragon4.c
-+++ b/numpy/core/src/multiarray/dragon4.c
-@@ -114,7 +114,7 @@ LogBase2_64(npy_uint64 val)
- return LogBase2_32((npy_uint32)val);
- }
-
--#if defined(HAVE_LDOUBLE_IEEE_QUAD_LE)
-+#if defined(HAVE_LDOUBLE_IEEE_QUAD_LE) || defined(HAVE_LDOUBLE_IEEE_QUAD_BE)
- static npy_uint32
- LogBase2_128(npy_uint64 hi, npy_uint64 lo)
- {
-@@ -217,7 +217,8 @@ BigInt_Set_uint64(BigInt *i, npy_uint64 val)
-
- #if (defined(HAVE_LDOUBLE_IBM_DOUBLE_DOUBLE_LE) || \
- defined(HAVE_LDOUBLE_IBM_DOUBLE_DOUBLE_BE) || \
-- defined(HAVE_LDOUBLE_IEEE_QUAD_LE))
-+ defined(HAVE_LDOUBLE_IEEE_QUAD_LE) || \
-+ defined(HAVE_LDOUBLE_IEEE_QUAD_BE))
- static void
- BigInt_Set_2x_uint64(BigInt *i, npy_uint64 hi, npy_uint64 lo)
- {