NetBSD Problem Report #40618

From bernd@arresum.veego.de  Wed Feb 11 17:48:03 2009
Return-Path: <bernd@arresum.veego.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id CFCEB63C177
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 11 Feb 2009 17:48:02 +0000 (UTC)
Message-Id: <200902111747.n1BHlqr3007857@arresum.veego.de>
Date: Wed, 11 Feb 2009 18:47:52 +0100 (CET)
From: Bernd Ernesti <pr200906@veego.de>
Reply-To: Bernd Ernesti <pr200906@veego.de>
To: gnats-bugs@gnats.NetBSD.org
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
>Organization:
>Environment:
System: NetBSD 3
Architecture: i386
Machine: i386
>Description:
	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
		changes:
		-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
		-bugfixes

>How-To-Repeat:
	cd emulators/wine
	make
>Fix:

>Release-Note:

>Audit-Trail:

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


From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
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...)

 kre

From: FUKAUMI Naoki <fun@naobsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/40618
Date: Thu, 16 Jul 2009 02:23:08 +0900

 hi

 same problem was reported on macports.org

   http://trac.macports.org/ticket/18087

 and patch is available

   http://trac.macports.org/export/45839/trunk/dports/x11/wine/files/patch-freetype.c-pFT_MulFix.diff

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

 --
 FUKAUMI Naoki

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


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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