summaryrefslogtreecommitdiffstats
path: root/xlswriter-build.patch
blob: 15526e553f6afaecc93b896c8d0ce2427f784cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
diff -up ./kernel/excel.c.fixbuild ./kernel/excel.c
--- ./kernel/excel.c.fixbuild	2018-07-11 14:15:31.000000000 +0200
+++ ./kernel/excel.c	2018-09-12 11:26:05.455567873 +0200
@@ -10,10 +10,6 @@
   +----------------------------------------------------------------------+
 */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include "include.h"
 
 zend_class_entry *vtiful_xls_ce;
diff -up ./kernel/format.c.fixbuild ./kernel/format.c
--- ./kernel/format.c.fixbuild	2018-07-11 14:15:31.000000000 +0200
+++ ./kernel/format.c	2018-09-12 11:26:05.456567879 +0200
@@ -10,10 +10,6 @@
   +----------------------------------------------------------------------+
 */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include "include.h"
 #include "ext/standard/php_var.h"
 
diff -up ./kernel/include.h.fixbuild ./kernel/include.h
--- ./kernel/include.h.fixbuild	2018-07-11 14:15:31.000000000 +0200
+++ ./kernel/include.h	2018-09-12 11:26:05.456567879 +0200
@@ -13,6 +13,10 @@
 #ifndef PHP_XLS_WRITER_INCLUDE_H
 #define PHP_XLS_WRITER_INCLUDE_H
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <php.h>
 
 #include "zend_exceptions.h"
diff -up ./kernel/write.c.fixbuild ./kernel/write.c
--- ./kernel/write.c.fixbuild	2018-09-12 11:26:05.456567879 +0200
+++ ./kernel/write.c	2018-09-12 11:26:54.646837194 +0200
@@ -368,7 +368,7 @@ _prepare_drawings(lxw_workbook *self)
         STAILQ_FOREACH(image_options, worksheet->chart_data, list_pointers) {
             chart_ref_id++;
             lxw_worksheet_prepare_chart(worksheet, chart_ref_id, drawing_id,
-                                        image_options);
+                                        image_options, 0);
             if (image_options->chart)
                 STAILQ_INSERT_TAIL(self->ordered_charts, image_options->chart,
                                    ordered_list_pointers);
@@ -755,4 +755,4 @@ _populate_range(lxw_workbook *self, lxw_
 {
     _populate_range_dimensions(self, range);
     _populate_range_data_cache(self, range);
-}
\ Pas de fin de ligne à la fin du fichier
+}