aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript8-x11/files/patch-base_gdevperm.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript8-x11/files/patch-base_gdevperm.c')
-rw-r--r--print/ghostscript8-x11/files/patch-base_gdevperm.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript8-x11/files/patch-base_gdevperm.c b/print/ghostscript8-x11/files/patch-base_gdevperm.c
new file mode 100644
index 000000000000..58eb6619560d
--- /dev/null
+++ b/print/ghostscript8-x11/files/patch-base_gdevperm.c
@@ -0,0 +1,11 @@
+--- base/gdevperm.c.orig 2007-09-25 13:31:24 UTC
++++ base/gdevperm.c
+@@ -286,7 +286,7 @@ perm_get_color_mapping_procs(const gx_de
+ (strncmp((const char *)name, (const char *)str, name_size) == 0))
+
+ static 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;