summaryrefslogtreecommitdiff
path: root/Build/source/utils/ps2eps/TLPATCHES/patch-06-unused
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
committerKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
commit5ef2fb04a27cd5ef7c85fbefec889b2503259290 (patch)
tree5d213e7091d68bc4226e68d6ad83ffc774dfe370 /Build/source/utils/ps2eps/TLPATCHES/patch-06-unused
parentcdedcff919defc8bac478adf4411c495e08ccd25 (diff)
rename foo/foo-PATCHES to foo/TLPATCHES for better completion
git-svn-id: svn://tug.org/texlive/trunk@43212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/ps2eps/TLPATCHES/patch-06-unused')
-rw-r--r--Build/source/utils/ps2eps/TLPATCHES/patch-06-unused28
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/utils/ps2eps/TLPATCHES/patch-06-unused b/Build/source/utils/ps2eps/TLPATCHES/patch-06-unused
new file mode 100644
index 00000000000..31f6ef217bf
--- /dev/null
+++ b/Build/source/utils/ps2eps/TLPATCHES/patch-06-unused
@@ -0,0 +1,28 @@
+diff -ur ps2eps-1.68.orig/src/C/bbox.c ps2eps-1.68/src/C/bbox.c
+--- ps2eps-1.68.orig/src/C/bbox.c 2012-06-16 18:21:11.000000000 +0200
++++ ps2eps-1.68/src/C/bbox.c 2012-12-07 10:24:48.000000000 +0100
+@@ -114,7 +114,6 @@
+ *tmpcolumnbytep;
+ unsigned int width,height; /* Image Size */
+ unsigned int byte_width;
+- unsigned char stepsize;
+ unsigned char colormax= 0; /* max color value */
+ unsigned int ui_colormax= 0; /* max color value */
+
+@@ -141,16 +140,10 @@
+ fprintf(stderr,"read:[%s]\n",inputline);
+ #endif
+ if ( strcmp(inputline,"P4\n") == 0 )
+- {
+- stepsize= 1;
+ magic_found= 4;
+- }
+ else
+ if ( strcmp(inputline,"P6\n") == 0 )
+- {
+- stepsize= 3;
+ magic_found= 6;
+- }
+ }
+ while ( !feof(inputfile) && !magic_found );
+