From 1a8a092d9fefcbd7f960c82c59802c61807867a6 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 17 Jun 2016 23:28:04 +0000 Subject: Rename all files containing a : in their filename. While there, run make makepatch on affected ports, and rename patches accordingly. Sponsored by: Absolight --- print/ghostscript7-x11/files/patch-src_zdict.c | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 print/ghostscript7-x11/files/patch-src_zdict.c (limited to 'print/ghostscript7-x11/files/patch-src_zdict.c') diff --git a/print/ghostscript7-x11/files/patch-src_zdict.c b/print/ghostscript7-x11/files/patch-src_zdict.c new file mode 100644 index 000000000000..7c806e3c0810 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src_zdict.c @@ -0,0 +1,29 @@ +--- src/zdict.c.orig 2003-01-17 00:49:05 UTC ++++ src/zdict.c +@@ -35,12 +35,9 @@ zdict(i_ctx_t *i_ctx_p) + os_ptr op = osp; + + check_type(*op, t_integer); +-#if arch_sizeof_int < arch_sizeof_long +- check_int_leu(*op, max_uint); +-#else + if (op->value.intval < 0) + return_error(e_rangecheck); +-#endif ++ + return dict_create((uint) op->value.intval, op); + } + +@@ -458,12 +455,8 @@ zsetmaxlength(i_ctx_t *i_ctx_p) + check_type(*op1, t_dictionary); + check_dict_write(*op1); + check_type(*op, t_integer); +-#if arch_sizeof_int < arch_sizeof_long +- check_int_leu(*op, max_uint); +-#else + if (op->value.intval < 0) + return_error(e_rangecheck); +-#endif + new_size = (uint) op->value.intval; + if (dict_length(op - 1) > new_size) + return_error(e_dictfull); -- cgit v1.2.3