ghostscript918.patch 720 B

12345678910111213141516171819
  1. diff -uprb graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c graphviz-2.38.0/plugin/gs/gvloadimage_gs.c
  2. --- graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c 2014-04-13 23:40:25.000000000 +0300
  3. +++ graphviz-2.38.0/plugin/gs/gvloadimage_gs.c 2015-11-11 00:08:32.916123704 +0200
  4. @@ -72,11 +72,11 @@ static void gs_error(GVJ_t * job, const
  5. assert (err < 0);
  6. - if (err >= e_VMerror)
  7. + if (err >= gs_error_VMerror)
  8. errsrc = "PostScript Level 1";
  9. - else if (err >= e_unregistered)
  10. + else if (err >= gs_error_unregistered)
  11. errsrc = "PostScript Level 2";
  12. - else if (err >= e_invalidid)
  13. + else if (err >= gs_error_invalidid)
  14. errsrc = "DPS error";
  15. else
  16. errsrc = "Ghostscript internal error";