summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu/files/patch-src:gdevxini.c
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-11 19:12:20 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-11 19:12:20 +0000
commitf239ea291484a95575cd2ad99a43268434f80947 (patch)
tree277d612725807514b6721dbc45df94f3e0009f55 /print/ghostscript-gnu/files/patch-src:gdevxini.c
parentChase the libkakasi's version bump and bump PORTREVISION. (diff)
** ghostscript55 has been repocopied to ghostscript-gnu **
Update to GNU Ghostscript 6.51. PR: ports/29579 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=47707
Diffstat (limited to '')
-rw-r--r--print/ghostscript-gnu/files/patch-src:gdevxini.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/print/ghostscript-gnu/files/patch-src:gdevxini.c b/print/ghostscript-gnu/files/patch-src:gdevxini.c
new file mode 100644
index 000000000000..44bb6b3984f6
--- /dev/null
+++ b/print/ghostscript-gnu/files/patch-src:gdevxini.c
@@ -0,0 +1,14 @@
+--- src/gdevxini.c.orig Tue Jun 5 15:38:57 2001
++++ src/gdevxini.c Wed Jun 20 04:17:15 2001
+@@ -655,8 +655,10 @@
+ }
+ x_set_buffer(xdev);
+ /* Clear the destination pixmap to avoid initializing with garbage. */
+- xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
++ if (xdev->dest == (Pixmap) 0) {
++ xdev->dest = (xdev->bpixmap != (Pixmap) 0 ?
+ xdev->bpixmap : (Pixmap) xdev->win);
++ }
+ if (xdev->dest != (Pixmap) 0) {
+ XSetForeground(xdev->dpy, xdev->gc, xdev->background);
+ XFillRectangle(xdev->dpy, xdev->dest, xdev->gc,