summaryrefslogtreecommitdiffstats
path: root/package/clapack/0007-off64-t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/clapack/0007-off64-t.patch')
-rw-r--r--package/clapack/0007-off64-t.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/clapack/0007-off64-t.patch b/package/clapack/0007-off64-t.patch
new file mode 100644
index 0000000000..bf66d3c95f
--- /dev/null
+++ b/package/clapack/0007-off64-t.patch
@@ -0,0 +1,16 @@
+musl only provides off64_t, not __off64_t.
+glibc and uclibc have both defined.
+
+Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
+
+--- a/F2CLIBS/libf2c/sysdep1.h
++++ b/F2CLIBS/libf2c/sysdep1.h
+@@ -10,7 +10,7 @@
+
+ #ifdef __linux__
+ #define USE_LARGEFILE
+-#define OFF_T __off64_t
++#define OFF_T off64_t
+ #endif
+
+ #ifdef _AIX43
OpenPOWER on IntegriCloud