summaryrefslogtreecommitdiffstats
path: root/libraries/goffice/patches/go-ryu.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/goffice/patches/go-ryu.h.patch')
-rw-r--r--libraries/goffice/patches/go-ryu.h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/goffice/patches/go-ryu.h.patch b/libraries/goffice/patches/go-ryu.h.patch
new file mode 100644
index 0000000000..623da14e36
--- /dev/null
+++ b/libraries/goffice/patches/go-ryu.h.patch
@@ -0,0 +1,12 @@
+--- goffice/math/go-ryu.h 2023-05-20 19:48:32.000000000 -0300
++++ goffice/math/go-ryu.h.patched 2023-12-27 19:28:35.623167312 -0400
+@@ -9,7 +9,9 @@
+ /* ------------------------------------------------------------------------- */
+
+ int go_ryu_d2s_buffered_n (double d, char *dst);
++#ifdef GOFFICE_WITH_LONG_DOUBLE
+ int go_ryu_ld2s_buffered_n (long double d, char *dst);
++#endif
+
+ /* ------------------------------------------------------------------------- */
+