[PATCH 1/4] shadowfb calls GetGlyphs() so list libXfont as a dependency

Alan Coopersmith alan.coopersmith at oracle.com
Thu Jun 28 15:15:53 PDT 2012


On 06/25/12 01:24 AM, Yaakov (Cygwin/X) wrote:
> On Sun, 2012-06-24 at 09:31 -0700, Alan Coopersmith wrote: 
>> So replace the original [PATCH 1/4] with the following which adds
>> GetGlyphs() to dixfonts.c, making all platforms export it from the same
>> binary, instead of differing based on how libXfont is linked.
> 
> Sorry, but that doesn't work either:
> 
> /usr/lib/libXfont.a(fontutil.o): In function `GetGlyphs':
> libXfont/src/util/fontutil.c:54: multiple definition of `_GetGlyphs'
> ../../dix/.libs/libdix.a(dixfonts.o):dix/dixfonts.c:123: first defined
> here

Damn, you're going to make me work for this aren't you?   8-)

Okay, how about we make the compiler think they have the same name (so
we don't have to go fix all the callers right away) while letting the
linker use a new name so there's no clash?

Try #3 attached.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-dixGetGlyphs-to-replace-GetGlyphs-from-libXfont-.patch
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120628/9afcdc2f/attachment.ksh>


More information about the xorg-devel mailing list