Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195439 - x11-proto/renderproto-0.9.3: undefined identifiers in <X11/extensions/render.h>
Summary: x11-proto/renderproto-0.9.3: undefined identifiers in <X11/extensions/render.h>
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2007-10-11 00:27 UTC by Christopher Smith
Modified: 2007-10-14 10:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Smith 2007-10-11 00:27:01 UTC
render.h uses "XID" assuming it's been defined.  This behavior breaks (at least) the xeffects xgl ebuild and is inconsistent with the other header files in the directory, which include X.h.  Inserting a '#include <X11/X.h>' fixes the issue.

I suspect this is an Xorg upstream bug.

Reproducible: Always

Steps to Reproduce:
Compile something which includes <X11/extensions/render.h> without including <X11/X.h>
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-11 07:52:36 UTC
This sounds familiar ... ah yes, the fix was in libXrender. Do you have 
libXrender 0.9.4?

commit 497dda5615d0484d34f3a0a580353ac10ceaced5
Author: Eric Anholt <eric@anholt.net>
Date:   Wed Sep 5 08:20:33 2007 -0700

    Bump version to 0.9.4.

commit 89bc96e2c10c3902b82d74da95608bb48319ad29
Author: Paul Bender <pebender@san.rr.com>
Date:   Wed Sep 5 08:19:55 2007 -0700

    Reorder render.h include so that XID has been picked up by then.
    
    While libXrender built fine. some software requiring libXrender didn't include
    Xlib.h beforehand.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-14 10:10:44 UTC
Please reopen when you reply.