Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341239 - games-puzzle/pipewalker-0.9.1 includes SDL headers incorrectly
Summary: games-puzzle/pipewalker-0.9.1 includes SDL headers incorrectly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-16 09:34 UTC by Alexander E. Patrakov
Modified: 2010-10-17 05:23 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 Alexander E. Patrakov 2010-10-16 09:34:41 UTC
pipewalker includes SDL headers the following way:

#include <SDL/SDL.h>

This is incorrect, as explained here: http://gpwiki.org/index.php/SDL:Tutorials:Initializing_SDL_Libraries#A_note_about_the_headers_and_sdl-config

Actually the game fails to build on a system with the multilib overlay due to that bug: /usr/include/SDL/SDL_config.h leads to either of /usr/include/gentoo-multilib/{amd64,x86}/SDL/SDL_config.h, but that header includes "SDL_platform.h" which is not in /usr/include/gentoo-multilib/{amd64,x86}/SDL/ (but in /usr/include/SDL) => not found during the build.

Reproducible: Always

Steps to Reproduce:
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2010-10-17 05:23:10 UTC
fixed in portage.  thanks for the bug report.