summaryrefslogtreecommitdiff
path: root/print/ghostscript8/files/patch-src__gdevperm.c
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-27 19:59:21 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-27 19:59:21 +0000
commit20352fa29823ad73e4f06d086dc9598d1a274ab8 (patch)
tree8dca0c9c79381ab1af57f988e6007e2e7b2e40fa /print/ghostscript8/files/patch-src__gdevperm.c
parentClean 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/ghostscript8/files/patch-src__gdevperm.c')
-rw-r--r--print/ghostscript8/files/patch-src__gdevperm.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript8/files/patch-src__gdevperm.c b/print/ghostscript8/files/patch-src__gdevperm.c
new file mode 100644
index 000000000000..da5d52ceedf8
--- /dev/null
+++ b/print/ghostscript8/files/patch-src__gdevperm.c
@@ -0,0 +1,11 @@
+--- src/gdevperm.c.orig Fri Jun 18 16:00:47 2004
++++ src/gdevperm.c Fri Dec 31 18:06:42 2004
+@@ -289,7 +289,7 @@
+ (strncmp((const char *)name, (const char *)str, name_size) == 0))
+
+ private int
+-perm_get_color_comp_index(const gx_device *pdev, const char *pname,
++perm_get_color_comp_index(gx_device *pdev, const char *pname,
+ int name_size, int component_type)
+ {
+ const gx_device_perm_t * const dev = (const gx_device_perm_t *)pdev;