wine: fixed compilation

This commit is contained in:
Antti Nykanen 2009-03-23 21:50:26 +02:00
parent 8293cedcb6
commit f8c04a6922
3 changed files with 28 additions and 1 deletions

View File

@ -1 +1,2 @@
55587dc772ba8d2a18ce52e1e0b75584 wine-1.0.1.patch
b49540f4ed194c7e8da4cdc4b5bd3404 wine-1.0.1.tar.bz2

View File

@ -7,10 +7,12 @@
name=wine
version=1.0.1
release=1
source=(http://ibiblio.org/pub/linux/system/emulators/wine/wine-$version.tar.bz2)
source=(http://ibiblio.org/pub/linux/system/emulators/wine/wine-$version.tar.bz2
$name-$version.patch)
build() {
cd $name-$version
patch -p0 -i $SRC/$name-$version.patch
./configure \
--prefix=/usr \
--mandir=$PKG/usr/man \

24
wine/wine-1.0.1.patch Normal file
View File

@ -0,0 +1,24 @@
--- dlls/gdi32/freetype.c~ 2009-03-23 20:35:12.000000000 +0200
+++ dlls/gdi32/freetype.c 2009-03-23 20:36:37.000000000 +0200
@@ -163,7 +163,11 @@ MAKE_FUNCPTR(FT_Get_Sfnt_Table);
MAKE_FUNCPTR(FT_Init_FreeType);
MAKE_FUNCPTR(FT_Load_Glyph);
MAKE_FUNCPTR(FT_Matrix_Multiply);
+#ifdef FT_MULFIX_INLINED
+#define pFT_MulFix FT_MULFIX_INLINED
+#else
MAKE_FUNCPTR(FT_MulFix);
+#endif
MAKE_FUNCPTR(FT_New_Face);
MAKE_FUNCPTR(FT_New_Memory_Face);
MAKE_FUNCPTR(FT_Outline_Get_Bitmap);
@@ -2438,7 +2442,9 @@ static BOOL init_freetype(void)
LOAD_FUNCPTR(FT_Init_FreeType)
LOAD_FUNCPTR(FT_Load_Glyph)
LOAD_FUNCPTR(FT_Matrix_Multiply)
+#ifndef FT_MULFIX_INLINED
LOAD_FUNCPTR(FT_MulFix)
+#endif
LOAD_FUNCPTR(FT_New_Face)
LOAD_FUNCPTR(FT_New_Memory_Face)
LOAD_FUNCPTR(FT_Outline_Get_Bitmap)