summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-06-27 08:13:40 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-06-27 08:13:40 +0000
commit16893b641bd057a8f1bc62b2e8082993499150aa (patch)
tree6192e6462639a6969daaf6a0d1279446157030c3 /app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch
parentadd quotes to user variable setup (diff)
downloadgentoo-2-16893b641bd057a8f1bc62b2e8082993499150aa.tar.gz
gentoo-2-16893b641bd057a8f1bc62b2e8082993499150aa.tar.bz2
gentoo-2-16893b641bd057a8f1bc62b2e8082993499150aa.zip
Move ghostscript-afpl to ghostscript-gpl and change the license, thanks to Ernst Rohlicek <ernst.rohlicek@inode.at> in bug 137289
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch')
-rw-r--r--app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch
new file mode 100644
index 000000000000..2c1beb591e8b
--- /dev/null
+++ b/app-text/ghostscript-gpl/files/ghostscript-afpl-8.54-segfault.patch
@@ -0,0 +1,13 @@
+Index: gs/src/gxfcopy.c
+===================================================================
+--- gs/src/gxfcopy.c (revision 6764)
++++ gs/src/gxfcopy.c (working copy)
+@@ -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(*a), compare_glyph_names);
+ for (; j >= 0; j--)
+ cfdata->glyphs[j].order_index = a[j] - cfdata->names;
+ gs_free_object(memory, a, "order_font_data");