summaryrefslogtreecommitdiffstats
path: root/226.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-14 11:47:11 +0100
committerRemi Collet <remi@remirepo.net>2020-01-14 11:47:11 +0100
commitff74cd8305972528ee1beba7046042c87656ad6d (patch)
treeb054682115ea874c73b02ead3a255e8356a9be1b /226.patch
parentef4b9ec3cda8091b0537428f93fb118a91d60ad6 (diff)
rebuild with libxlsxwriter 0.9.3
add patch from https://github.com/viest/php-ext-xlswriter/pull/226
Diffstat (limited to '226.patch')
-rw-r--r--226.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/226.patch b/226.patch
new file mode 100644
index 0000000..b5a99eb
--- /dev/null
+++ b/226.patch
@@ -0,0 +1,25 @@
+From c190802563372c2394f94cb9df3ee563ec701e63 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Tue, 14 Jan 2020 11:37:29 +0100
+Subject: [PATCH] fix build with libxlsxwriter-0.9.3
+
+---
+ kernel/write.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/kernel/write.c b/kernel/write.c
+index 0467c61..cd7042b 100644
+--- a/kernel/write.c
++++ b/kernel/write.c
+@@ -915,7 +915,11 @@ _populate_range_data_cache(lxw_workbook *self, lxw_series_range *range)
+ return;
+ }
+
++#if defined(LXW_VERSION_ID) && LXW_VERSION_ID >= 93
++ cell_obj = lxw_worksheet_find_cell_in_row(row_obj, col_num);
++#else
+ cell_obj = lxw_worksheet_find_cell(row_obj, col_num);
++#endif
+
+ if (cell_obj) {
+ if (cell_obj->type == NUMBER_CELL) {