From 9a912c821381796330085dc99c697e9f2ae5b7f6 Mon Sep 17 00:00:00 2001 From: "James E. Housley" Date: Mon, 14 May 2001 00:27:51 +0000 Subject: Update to version 2000-05-10 PR: 27271 Submitted by: MAINTAINER --- emulators/wine-devel/files/patch-gg | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 emulators/wine-devel/files/patch-gg (limited to 'emulators/wine-devel/files/patch-gg') 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) -- cgit v1.2.3