summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/TLpatches/patch-16-gserrornames
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/TLpatches/patch-16-gserrornames')
-rw-r--r--Build/source/texk/dvisvgm/TLpatches/patch-16-gserrornames10
1 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/TLpatches/patch-16-gserrornames b/Build/source/texk/dvisvgm/TLpatches/patch-16-gserrornames
new file mode 100644
index 00000000000..acdeaddddcf
--- /dev/null
+++ b/Build/source/texk/dvisvgm/TLpatches/patch-16-gserrornames
@@ -0,0 +1,10 @@
+diff -u2r dvisvgm-2.3.1/src/Ghostscript.cpp dvisvgm-src/src/Ghostscript.cpp
+--- dvisvgm-2.3.1/src/Ghostscript.cpp 2018-01-02 01:09:11.000000000 -0800
++++ dvisvgm-src/src/Ghostscript.cpp 2018-01-15 15:57:09.114619987 -0800
+@@ -347,5 +347,5 @@
+ return error_names[code-1];
+ #else
+- if (auto error_names = LOAD_SYMBOL(gs_error_names))
++ if (auto error_names = loadSymbol<const char**>("gs_error_names"))
+ return error_names[code-1];
+ return nullptr;