diff options
Diffstat (limited to 'emulators/wine-devel/files/patch-gg')
-rw-r--r-- | emulators/wine-devel/files/patch-gg | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-gg b/emulators/wine-devel/files/patch-gg new file mode 100644 index 000000000000..aec707b8a09d --- /dev/null +++ b/emulators/wine-devel/files/patch-gg @@ -0,0 +1,38 @@ +--- dlls/wineps/afm.c 2001/05/09 17:11:59 1.13 ++++ dlls/wineps/afm.c 2001/05/11 11:51:52 +@@ -683,7 +683,7 @@ static BOOL SortFontMetrics() + + qsort(aglCopy, PSDRV_AdobeGlyphList.size, + sizeof(UNICODEGLYPH), +- (__compar_fn_t)UnicodeGlyphByNameIndex); ++ UnicodeGlyphByNameIndex); + } + + for (i = 0; i < afm->NumofMetrics; ++i) +@@ -695,7 +695,7 @@ static BOOL SortFontMetrics() + + pug = bsearch(&ug, aglCopy, PSDRV_AdobeGlyphList.size, + sizeof(UNICODEGLYPH), +- (__compar_fn_t)UnicodeGlyphByNameIndex); ++ UnicodeGlyphByNameIndex); + if (pug == NULL) + { + WARN("Glyph '%s' in font '%s' does not have a UV\n", +@@ -715,7 +715,7 @@ static BOOL SortFontMetrics() + + /* typecast avoids compiler warning */ + qsort((void *)(afm->Encoding->glyphs), afm->Encoding->size, +- sizeof(UNICODEGLYPH), (__compar_fn_t)UnicodeGlyphByUV); ++ sizeof(UNICODEGLYPH), UnicodeGlyphByUV); + + for (i = 0; i < afm->Encoding->size; ++i) + if (afm->Encoding->glyphs[i].UV >= 0) +@@ -726,7 +726,7 @@ static BOOL SortFontMetrics() + } + + qsort(afm->Metrics, afm->NumofMetrics, sizeof(AFMMETRICS), +- (__compar_fn_t)AFMMetricsByUV); ++ AFMMetricsByUV); + + for (i = 0; i < afm->NumofMetrics; ++i) + if (afm->Metrics[i].UV >= 0) |