Magellan Linux

Contents of /trunk/ghostscript-gpl/patches/ghostscript-gpl-8.70-gsdjvu-1.3.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 907 - (show annotations) (download)
Mon Oct 26 18:29:14 2009 UTC (14 years, 6 months ago) by niro
File size: 1668 byte(s)
patchset for ghostscript-gpl

1 diff -Naur ghostscript-8.64/base/gdevdjvu.c ghostscript-8.64.new/base/gdevdjvu.c
2 --- ghostscript-8.64/base/gdevdjvu.c 2007-11-29 03:32:27.000000000 +0100
3 +++ ghostscript-8.64.new/base/gdevdjvu.c 2009-02-05 22:35:11.472977938 +0100
4 @@ -153,9 +153,9 @@
5 private void
6 lbassertfail(const char *file, int line)
7 {
8 - FILE *serr = fdopen(2,"a");
9 - fprintf(serr,"Internal error at %s:%d\n", file, line);
10 - fclose(serr);
11 + //FILE *serr = fdopen(2,"a");
12 + //fprintf(serr,"Internal error at %s:%d\n", file, line);
13 + //fclose(serr);
14 abort();
15 }
16
17 @@ -5130,12 +5130,6 @@
18 0, cdev->width-1, 0, cdev->height-1, comment);
19 if (code < 0) return code;
20 }
21 - /* Print message */
22 - if (! cdev->quiet) {
23 - fprintf(STDOUT, "Page %dx%d (%s )\n",
24 - cdev->width, cdev->height, comment);
25 - fflush(STDOUT);
26 - }
27 /* Terminate */
28 runmap_free(fgmap);
29 #ifdef DEBUG
30 @@ -5547,12 +5541,6 @@
31 if (code < 0)
32 return code;
33 }
34 - /* Print message */
35 - if (! cdev->quiet) {
36 - fprintf(STDOUT,"Page %dx%d (%s )\n",
37 - cdev->width, cdev->height, comment);
38 - fflush(STDOUT);
39 - }
40 /* Terminate */
41 runmap_free(fgmap);
42 #ifdef DEBUG
43 diff -Naur ghostscript-8.64/gsdjvu ghostscript-8.64.new/gsdjvu
44 --- ghostscript-8.64/gsdjvu 2005-07-01 22:23:56.000000000 +0200
45 +++ ghostscript-8.64.new/gsdjvu 2009-02-05 22:31:57.385977935 +0100
46 @@ -56,4 +56,4 @@
47 # Step 2 -- execute ghostscript
48
49 gsdir="$progdir"
50 -GS_LIB="$gsdir/lib:$gsdir/fonts:$gsdir" exec "$gsdir/bin/gs" "$@"
51 +GS_LIB="$gsdir/lib:$gsdir/fonts:$gsdir" exec "/usr/bin/gs" "$@"