OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../wine/ft_mulfix.patch
  5. # Copyright (C) 2009 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. X-Git-Url: http://source.winehq.org/git/wine.git/?a=blobdiff_plain;f=dlls%2Fgdi32%2Ffreetype.c;h=74e70ea27140e96f8e138660450eff3acd6589f5;hp=cb351db7693ef0bd763baf19331e0713c7f5480c;hb=de251e1c62651d8160b340a4fb9d0f9834a8e538;hpb=9c2ca354c29be96d0653123bff505304005f4f98
  17. diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
  18. index cb351db..74e70ea 100644
  19. --- a/dlls/gdi32/freetype.c
  20. +++ b/dlls/gdi32/freetype.c
  21. @@ -163,7 +163,11 @@ MAKE_FUNCPTR(FT_Get_Sfnt_Table);
  22. MAKE_FUNCPTR(FT_Init_FreeType);
  23. MAKE_FUNCPTR(FT_Load_Glyph);
  24. MAKE_FUNCPTR(FT_Matrix_Multiply);
  25. +#ifdef FT_MULFIX_INLINED
  26. +#define pFT_MulFix FT_MULFIX_INLINED
  27. +#else
  28. MAKE_FUNCPTR(FT_MulFix);
  29. +#endif
  30. MAKE_FUNCPTR(FT_New_Face);
  31. MAKE_FUNCPTR(FT_New_Memory_Face);
  32. MAKE_FUNCPTR(FT_Outline_Get_Bitmap);
  33. @@ -2434,7 +2438,9 @@ static BOOL init_freetype(void)
  34. LOAD_FUNCPTR(FT_Init_FreeType)
  35. LOAD_FUNCPTR(FT_Load_Glyph)
  36. LOAD_FUNCPTR(FT_Matrix_Multiply)
  37. +#ifndef FT_MULFIX_INLINED
  38. LOAD_FUNCPTR(FT_MulFix)
  39. +#endif
  40. LOAD_FUNCPTR(FT_New_Face)
  41. LOAD_FUNCPTR(FT_New_Memory_Face)
  42. LOAD_FUNCPTR(FT_Outline_Get_Bitmap)