summaryrefslogtreecommitdiff
path: root/math/py-pyreadr/files/patch-pyreadr-librdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-pyreadr/files/patch-pyreadr-librdata.c')
-rw-r--r--math/py-pyreadr/files/patch-pyreadr-librdata.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/math/py-pyreadr/files/patch-pyreadr-librdata.c b/math/py-pyreadr/files/patch-pyreadr-librdata.c
index a42f31378cf0..4f1e7dcff114 100644
--- a/math/py-pyreadr/files/patch-pyreadr-librdata.c
+++ b/math/py-pyreadr/files/patch-pyreadr-librdata.c
@@ -1,29 +1,29 @@
---- pyreadr/librdata.c.orig 2022-09-24 13:35:34 UTC
+--- pyreadr/librdata.c.orig 2023-08-09 09:41:49 UTC
+++ pyreadr/librdata.c
-@@ -4,8 +4,6 @@
- {
+@@ -5,8 +5,6 @@
"distutils": {
"depends": [
+ "pyreadr/conditional_includes.h",
- "pyreadr/libs/librdata/src/rdata.h",
- "pyreadr/libs/librdata/src/rdata_io_unistd.h"
],
"extra_compile_args": [
"-DHAVE_ZLIB",
-@@ -23,13 +21,6 @@
+@@ -24,13 +22,6 @@
"name": "pyreadr.librdata",
"sources": [
"pyreadr/librdata.pyx",
+- "pyreadr/libs/librdata/src/rdata_write.c",
- "pyreadr/libs/librdata/src/rdata_bits.c",
-- "pyreadr/libs/librdata/src/rdata_io_unistd.c",
+- "pyreadr/libs/librdata/src/rdata_read.c",
+- "pyreadr/libs/librdata/src/rdata_parser.c",
- "pyreadr/libs/librdata/src/CKHashTable.c",
- "pyreadr/libs/librdata/src/rdata_error.c",
-- "pyreadr/libs/librdata/src/rdata_read.c",
-- "pyreadr/libs/librdata/src/rdata_write.c",
-- "pyreadr/libs/librdata/src/rdata_parser.c"
+- "pyreadr/libs/librdata/src/rdata_io_unistd.c"
]
},
"module_name": "pyreadr.librdata"
-@@ -645,8 +636,8 @@ static CYTHON_INLINE float __PYX_NAN() {
+@@ -1117,8 +1108,8 @@ static CYTHON_INLINE float __PYX_NAN() {
#include <time.h>
#include <stdint.h>
#include <sys/types.h>
@@ -31,6 +31,6 @@
-#include "libs/librdata/src/rdata_io_unistd.h"
+#include <rdata.h>
+#include <rdata_io_unistd.h>
- #include <sys/stat.h>
- #include <unistd.h>
- #include <fcntl.h>
+ #include "conditional_includes.h"
+ #include <string.h>
+ #ifdef _OPENMP