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__gdevrpdl.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>
Notes
Notes:
svn path=/head/; revision=188581
Diffstat (limited to 'print/ghostscript-gpl/files/patch-lips__gdevrpdl.c')
-rw-r--r-- | print/ghostscript-gpl/files/patch-lips__gdevrpdl.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-lips__gdevrpdl.c b/print/ghostscript-gpl/files/patch-lips__gdevrpdl.c new file mode 100644 index 000000000000..8673cb716108 --- /dev/null +++ b/print/ghostscript-gpl/files/patch-lips__gdevrpdl.c @@ -0,0 +1,20 @@ +--- lips/gdevrpdl.c.orig Thu Nov 2 12:09:18 2000 ++++ lips/gdevrpdl.c Fri Dec 31 17:34:04 2004 +@@ -81,7 +81,7 @@ + if (pdev->PageCount == 0) + rpdl_printer_initialize(pdev, prn_stream, num_coipes); + +- if (!(lprn->CompBuf = gs_malloc(bpl * 3 / 2 + 1, maxY, "rpdl_print_page_copies(CompBuf)"))) ++ if (!(lprn->CompBuf = gs_malloc(pdev->memory, bpl * 3 / 2 + 1, maxY, "rpdl_print_page_copies(CompBuf)"))) + return_error(gs_error_VMerror); + + lprn->NegativePrint = false; /* Not Support */ +@@ -90,7 +90,7 @@ + if (code < 0) + return code; + +- gs_free(lprn->CompBuf, bpl * 3 / 2 + 1, maxY, "rpdl_print_page_copies(CompBuf)"); ++ gs_free(pdev->memory, lprn->CompBuf, bpl * 3 / 2 + 1, maxY, "rpdl_print_page_copies(CompBuf)"); + + fprintf(prn_stream, "\014"); /* Form Feed */ + |