| Summary: | sdl-1.2.10 fail to build (xinerama error) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | charly <charlyghislain> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | pageexec |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
charly
2006-05-30 01:54:12 UTC
i think it's an upstream bug, my little investigation showed this:
src/video/x11/SDL_x11modes.c
629 #if SDL_VIDEO_DRIVER_X11_VIDMODE
630 /* XVidMode */
631 if ( !use_xrandr &&
632 (!use_xinerama || xinerama_info.screen_number == 0) &&
633 CheckVidMode(this, &vm_major, &vm_minor) &&
634 SDL_NAME(XF86VidModeGetAllModeLines)(SDL_Display,SDL_Screen,&nmodes,&modes) )
635 {
note the use of xinerama_info under the SDL_VIDEO_DRIVER_X11_VIDMODE define. it is defined as:
src/video/x11/SDL_x11video.h:189:#define xinerama_info (this->hidden->xinerama_info)
which in turn ends up as:
src/video/x11/SDL_x11video.h
118 #if SDL_VIDEO_DRIVER_X11_XINERAMA
119 SDL_NAME(XineramaScreenInfo) xinerama_info;
120 #endif
note that the actual xinerama_info field is under the SDL_VIDEO_DRIVER_X11_XINERAMA define, therefore with -xinerama it doesn't get defined and hence the compiler error. the quick fix would be to remove the dependency on SDL_VIDEO_DRIVER_X11_XINERAMA but upstream probably has a better idea, someone please escalate it there.
(In reply to comment #2) > https://bugs.gentoo.org/show_bug.cgi?id=134386 Thanks. Its strange that the search terms 'sdl xinerama' doesnt return this bug.. maybe the quotes? *** This bug has been marked as a duplicate of 134386 *** |