ports/127297: Redefinition warnings in print/freetype2
Jeremy Messenger
mezz7 at cox.net
Wed Sep 24 17:00:11 UTC 2008
The following reply was made to PR ports/127297; it has been noted by GNATS.
From: "Jeremy Messenger" <mezz7 at cox.net>
To: bug-followup at freebsd.org, koitsu at freebsd.org
Cc:
Subject: Re: ports/127297: Redefinition warnings in print/freetype2
Date: Wed, 24 Sep 2008 11:58:26 -0500
> The pre-patch section comments out #define
> TT_CONFIG_OPTION_BYTECODE_INTERPRETER in
> include/freetype/config/ftoption.h (when WITHOUT_TTF_BYTECODE_ENABLED is
> not defined by the user), but then earlier in the Makefile, it
> re-enables it:
I am not seeing any bug. When the WITHOUT_TTF_BYTECODE_ENABLED is not
defined then the TT_CONFIG_OPTION_BYTECODE_INTERPRETER will be enable,
which is a correct behavior. Unless I am blind?
--------------------------------------------------------
# pwd
/usr/ports/print/freetype2
# make extract
# grep TT_CONFIG_OPTION_BYTECODE_INTERPRETER
work/freetype-2.3.7/include/freetype/config/ftoption.h
/* Define TT_CONFIG_OPTION_BYTECODE_INTERPRETER if you want to compile
*/
/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ <-- disable
/* define TT_CONFIG_OPTION_BYTECODE_INTERPRETER; with other words,
*/
/* either define TT_CONFIG_OPTION_BYTECODE_INTERPRETER or
*/
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
# make patch
# grep TT_CONFIG_OPTION_BYTECODE_INTERPRETER
work/freetype-2.3.7/include/freetype/config/ftoption.h
/* Define TT_CONFIG_OPTION_BYTECODE_INTERPRETER if you want to compile
*/
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER <-- enable
/* define TT_CONFIG_OPTION_BYTECODE_INTERPRETER; with other words,
*/
/* either define TT_CONFIG_OPTION_BYTECODE_INTERPRETER or
*/
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
--------------------------------------------------------
There is no problem. As for the redefine warning, I think it's harmless
since it's still enable with no change as it's merely enable again.
Cheers,
Mezz
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
More information about the freebsd-gnome
mailing list