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-src:gdevmgr.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-src:gdevmgr.c')
-rw-r--r-- | print/ghostscript-gpl/files/patch-src:gdevmgr.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/print/ghostscript-gpl/files/patch-src:gdevmgr.c b/print/ghostscript-gpl/files/patch-src:gdevmgr.c deleted file mode 100644 index 8f2dc4028c34..000000000000 --- a/print/ghostscript-gpl/files/patch-src:gdevmgr.c +++ /dev/null @@ -1,17 +0,0 @@ ---- src/gdevmgr.c.orig Sun Jun 16 14:48:55 2002 -+++ src/gdevmgr.c Sun Nov 10 22:52:19 2002 -@@ -364,9 +364,11 @@ - /* (1/6, 1/2, and 5/6), instead of the obvious 8x8x4. */ - - gx_color_index --mgr_8bit_map_rgb_color(gx_device *dev, gx_color_value r, gx_color_value g, -- gx_color_value b) --{ uint rv = r / (gx_max_color_value / 7 + 1); -+mgr_8bit_map_rgb_color(gx_device *dev, const gx_color_value cv[]) -+{ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; -+ uint rv = r / (gx_max_color_value / 7 + 1); - uint gv = g / (gx_max_color_value / 7 + 1); - uint bv = b / (gx_max_color_value / 7 + 1); - return (gx_color_index) |