kumquat-buildroot/package/clapack/0007-off64-t.patch
Alex Suykov 4c71130b61 clapack: fix build with musl
Fixes
http://autobuild.buildroot.net/results/a94f097193cd5444dee5cd9df9d544ce736a7e7e/
http://autobuild.buildroot.net/results/036014e492f7caf793b92a9822ab6a0b1a54f2e8/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-17 22:41:53 +02:00

17 lines
328 B
Diff

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