summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/TLpatches/patch-02-const
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-13 22:32:47 +0000
committerKarl Berry <karl@freefriends.org>2017-02-13 22:32:47 +0000
commit370b138f85fb5eee6e176bcd9ad772ba178cb843 (patch)
tree8a61482b1002160dab258c9dc051c14abd2ab46d /Build/source/texk/dvipng/TLpatches/patch-02-const
parent11e8da1007c229802798bcb15cc69c62f5b8e5f6 (diff)
TLpatches seems nicer than all uppercase; sorry for churn
git-svn-id: svn://tug.org/texlive/trunk@43214 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/TLpatches/patch-02-const')
-rw-r--r--Build/source/texk/dvipng/TLpatches/patch-02-const15
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/texk/dvipng/TLpatches/patch-02-const b/Build/source/texk/dvipng/TLpatches/patch-02-const
new file mode 100644
index 00000000000..f10faef62e4
--- /dev/null
+++ b/Build/source/texk/dvipng/TLpatches/patch-02-const
@@ -0,0 +1,15 @@
+diff -ur dvipng-1.15.orig/special.c dvipng-1.15/special.c
+--- dvipng-1.15.orig/special.c 2015-03-02 20:33:55.000000000 +0100
++++ dvipng-1.15/special.c 2015-03-03 12:51:18.000000000 +0100
+@@ -44,9 +44,9 @@
+ struct pscode {
+ struct pscode* next;
+ char* special; /* complete special */
+- char* code; /* PS string, null if a file */
++ const char* code; /* PS string, null if a file */
+ char* filename; /* file name, null if a string */
+- char* postcode; /* post PS string */
++ const char* postcode; /* post PS string */
+ struct filemmap fmmap; /* file mmap */
+ };
+