diff options
author | Rene Ladan <rene@FreeBSD.org> | 2023-06-30 23:56:41 +0200 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2023-06-30 23:56:50 +0200 |
commit | e8db97680df0c7b32a564488c223dbd251d9eab4 (patch) | |
tree | 84812c37c69c0332ffbf34322f1effa907707f93 /print/ghostscript8-base/files/patch-base_gsmalloc.c | |
parent | Mk: unregister removed GhostScript 7 (diff) |
cleanup: Remove expired GhostScript 8 ports:
2023-06-30 print/ghostscript8-base: Obsolete and unsupported upstream, consider using a more recent version
2023-06-30 print/ghostscript8-x11: Obsolete and unsupported upstream
Diffstat (limited to 'print/ghostscript8-base/files/patch-base_gsmalloc.c')
-rw-r--r-- | print/ghostscript8-base/files/patch-base_gsmalloc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/print/ghostscript8-base/files/patch-base_gsmalloc.c b/print/ghostscript8-base/files/patch-base_gsmalloc.c deleted file mode 100644 index 4ae8db0c87ab..000000000000 --- a/print/ghostscript8-base/files/patch-base_gsmalloc.c +++ /dev/null @@ -1,11 +0,0 @@ ---- base/gsmalloc.c.orig 2009-08-18 20:41:17 UTC -+++ base/gsmalloc.c -@@ -174,7 +174,7 @@ gs_heap_alloc_bytes(gs_memory_t * mem, u - } else { - uint added = size + sizeof(gs_malloc_block_t); - -- if (mmem->limit - added < mmem->used) -+ if (added <= size || mmem->limit - added < mmem->used) - set_msg("exceeded limit"); - else if ((ptr = (byte *) malloc(added)) == 0) - set_msg("failed"); |