summaryrefslogtreecommitdiff
path: root/math/py-pyreadr/files/patch-pyreadr-librdata.c
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-22 01:04:40 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-22 01:04:40 +0800
commitb6cf9c19675b389d4a5b2c1fed1d11598280c1c8 (patch)
treeeb91fb3ccf621cf7a987702d5962d7f9d6f5418a /math/py-pyreadr/files/patch-pyreadr-librdata.c
parentmath/py-numexpr: Update to 2.8.5 (diff)
math/py-pyreadr: Update to 0.4.9
- Convert to USE_PYTHON=pep517 Changes: https://github.com/ofajardo/pyreadr/releases https://github.com/ofajardo/pyreadr/blob/master/change_log.md
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