diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-09 14:53:05 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-09 14:53:05 +0000 |
commit | 786c47ace2ef6a2f9e5ac4f12255248295ad4c41 (patch) | |
tree | 4d4b83667a4b46d1ab7980392bca1c528474023b /print/ghostscript-afpl | |
parent | Update to curl 7.16.1, loosely based on the PR. Also: (diff) |
- Fix runtime crash on amd64 on certain input files
PR: ports/110039
Submitted by: Ingo Schroeck <schroeck@internet-xs.de>
Obtained from: debian bug tracking system
Notes
Notes:
svn path=/head/; revision=187022
Diffstat (limited to 'print/ghostscript-afpl')
-rw-r--r-- | print/ghostscript-afpl/Makefile.inc | 2 | ||||
-rw-r--r-- | print/ghostscript-afpl/files/patch-src-gxfcopy.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/print/ghostscript-afpl/Makefile.inc b/print/ghostscript-afpl/Makefile.inc index c6660fd17f75..1d2f1aec7b8c 100644 --- a/print/ghostscript-afpl/Makefile.inc +++ b/print/ghostscript-afpl/Makefile.inc @@ -1,5 +1,5 @@ # $FreeBSD$ GS_VERSION= 8.54 -GS_REVISION= 0 +GS_REVISION= 1 GS_EPOCH= 1 diff --git a/print/ghostscript-afpl/files/patch-src-gxfcopy.c b/print/ghostscript-afpl/files/patch-src-gxfcopy.c new file mode 100644 index 000000000000..a33419126b19 --- /dev/null +++ b/print/ghostscript-afpl/files/patch-src-gxfcopy.c @@ -0,0 +1,11 @@ +--- src/gxfcopy.c.orig Thu Mar 23 13:39:23 2006 ++++ src/gxfcopy.c Fri Mar 9 15:13:31 2007 +@@ -2391,7 +2391,7 @@ + a[j++] = &cfdata->names[i]; + } + } +- qsort(a, cfdata->num_glyphs, sizeof(int), compare_glyph_names); ++ qsort(a, cfdata->num_glyphs, sizeof(gs_copied_glyph_name_t*), compare_glyph_names); + for (; j >= 0; j--) + cfdata->glyphs[j].order_index = a[j] - cfdata->names; + gs_free_object(memory, a, "order_font_data"); |