diff options
| author | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-27 19:59:21 +0000 |
|---|---|---|
| committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-27 19:59:21 +0000 |
| commit | 20352fa29823ad73e4f06d086dc9598d1a274ab8 (patch) | |
| tree | 8dca0c9c79381ab1af57f988e6007e2e7b2e40fa /print/ghostscript-gpl/files/patch-lips__gdevespg.c | |
| parent | Clean up CXXFLAGS. Fix compilation with gcc-4.1.x. (diff) | |
- Update to 8.56
- Switch to GTK 2.x
- SWitch to ship-in jasper which contains some fixes for gs
PR: ports/110818
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Diffstat (limited to 'print/ghostscript-gpl/files/patch-lips__gdevespg.c')
| -rw-r--r-- | print/ghostscript-gpl/files/patch-lips__gdevespg.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-lips__gdevespg.c b/print/ghostscript-gpl/files/patch-lips__gdevespg.c new file mode 100644 index 000000000000..ae28dffd626e --- /dev/null +++ b/print/ghostscript-gpl/files/patch-lips__gdevespg.c @@ -0,0 +1,20 @@ +--- lips/gdevespg.c.orig Thu Nov 2 12:09:18 2000 ++++ lips/gdevespg.c Fri Dec 17 19:39:57 2004 +@@ -142,7 +142,7 @@ + if (pdev->PageCount == 0) + escpage_printer_initialize(pdev, fp, num_coipes); + +- if (!(lprn->CompBuf = gs_malloc(bpl * 3 / 2 + 1, maxY, "lp2000_print_page_copies(CompBuf)"))) ++ if (!(lprn->CompBuf = gs_malloc(pdev->memory, bpl * 3 / 2 + 1, maxY, "lp2000_print_page_copies(CompBuf)"))) + return_error(gs_error_VMerror); + + if (lprn->NegativePrint) { +@@ -154,7 +154,7 @@ + if (code < 0) + return code; + +- gs_free(lprn->CompBuf, bpl * 3 / 2 + 1, maxY, "lp2000_print_page_copies(CompBuf)"); ++ gs_free(pdev->memory, lprn->CompBuf, bpl * 3 / 2 + 1, maxY, "lp2000_print_page_copies(CompBuf)"); + + if (pdev->Duplex) + fprintf(fp, "%c0dpsE", GS); |
