NetBSD Problem Report #40618

From  Wed Feb 11 17:48:03 2009
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id CFCEB63C177
	for <>; Wed, 11 Feb 2009 17:48:02 +0000 (UTC)
Message-Id: <>
Date: Wed, 11 Feb 2009 18:47:52 +0100 (CET)
From: Bernd Ernesti <>
Reply-To: Bernd Ernesti <>
Subject: wine build fails after recent freetype2 update
X-Send-Pr-Version: 3.95

>Number:         40618
>Category:       pkg
>Synopsis:       wine build fails after recent freetype2 update
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    adam
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 11 17:50:00 +0000 2009
>Closed-Date:    Sun Sep 01 06:11:30 +0000 2013
>Last-Modified:  Sun Sep 01 06:11:30 +0000 2013
>Originator:     Bernd Ernesti
>Release:        NetBSD 3
System: NetBSD 3
Architecture: i386
Machine: i386
	Building wine fails if freetype2-2.3.8 is installed:

cc -m32 -c -I. -I. -I../../include -I../../include -I/usr/pkg/include/freetype2 -I/usr/pkg/include  -D__WINESRC__ -D_GDI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include  -o freetype.o freetype.c
freetype.c:166: error: `FT_MulFix' undeclared here (not in a function)
freetype.c:166: warning: type defaults to `int' in declaration of `pFT_MulFix'
freetype.c: In function `WineEngGetOutlineTextMetrics':
freetype.c:5009: error: called object is not a function

	From the freetype2 commit mail:
		Log Message:
		update to 2.3.8
		-improvements for fonts in an SFNT wrapper (used on Mac)
		-FT_MulFix is now an inlined function; by default, assembler code
		 is provided for x86 and ARM.  See FT_CONFIG_OPTION_INLINE_MULFIX
		 and FT_CONFIG_OPTION_NO_ASSEMBLER (in ftoption.h) for more
		-handling of `tricky' fonts has been generalized and changed slightly
		-API additions

	cd emulators/wine



Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-When: Thu, 12 Feb 2009 00:25:40 +0000
Over to maintainer.

From: Robert Elz <kre@munnari.OZ.AU>
Subject: Re: pkg/40618 wine build fails after recent freetype2 update
Date: Mon, 13 Jul 2009 19:41:57 +0700

 I see the same thing on NetBSD 4 (ie: don't close this PR merely
 because it was submitted from NetBSD 3 which is no longer supported...)


From: FUKAUMI Naoki <>
Subject: Re: pkg/40618
Date: Thu, 16 Jul 2009 02:23:08 +0900


 same problem was reported on

 and patch is available

 I applied this patch against emulators/wine and works fine.


State-Changed-From-To: open->closed
State-Changed-When: Sun, 01 Sep 2013 06:11:30 +0000
Fixed with patch-ac on Sep 7 14:25:08 2009.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.