Submitted By: Thomas Trepl <ttrepl at yahoo dot de>
Date: 2005-12-02
Initial Package Version: 1.5
Upstream Status: Not sent
Origin: based on the patch for 1.0.7
Description: Get Firefox-1.5 compiled with gcc-4.x.
diff -Naur mozilla-orig/gfx/src/freetype/nsFreeType.cpp mozilla/gfx/src/freetype/nsFreeType.cpp
|
old
|
new
|
|
| 96 | 96 | // Define the FreeType2 functions we resolve at run time. |
| 97 | 97 | // see the comment near nsFreeType2::DoneFace() for more info |
| 98 | 98 | // |
| 99 | | #define NS_FT2_OFFSET(f) (long)&((nsFreeType2*)0)->f |
| | 99 | #define NS_FT2_OFFSET(f) (NS_PTR_TO_INT32(&((nsFreeType2*)0)->f)) |
| 100 | 100 | FtFuncList nsFreeType2::FtFuncs [] = { |
| 101 | 101 | {"FT_Done_Face", NS_FT2_OFFSET(nsFT_Done_Face), PR_TRUE}, |
| 102 | 102 | {"FT_Done_FreeType", NS_FT2_OFFSET(nsFT_Done_FreeType), PR_TRUE}, |