| Summary: | games-sports/ultimatestunts fails to compile with the openal/alut split | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matheus Izvekov <mizvekov> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
fix
fix |
||
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../shared -I../simulation -I../graphics -Wall -O3 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/include/SDL -D_REENTRANT -MT sndsample.o -MD -MP -MF ".deps/sndsample.Tpo" \
-c -o sndsample.o `test -f 'sndsample.cpp' || echo './'`sndsample.cpp; \
then mv -f ".deps/sndsample.Tpo" ".deps/sndsample.Po"; \
else rm -f ".deps/sndsample.Tpo"; exit 1; \
fi
sndsample.cpp: In member function virtual bool CSndSample::load(const CString&, const CParamList&):
sndsample.cpp:111: error: invalid conversion from ALubyte* to const ALchar*
sndsample.cpp:111: error: initializing argument 1 of void* alGetProcAddress(const ALchar*)
sndsample.cpp:137: error: invalid conversion from ALubyte* to const ALchar*
sndsample.cpp:137: error: initializing argument 1 of void* alGetProcAddress(const ALchar*)
sndsample.cpp:162: error: alutLoadWAV was not declared in this scope
make[2]: *** [sndsample.o] Error 1
Created attachment 86763 [details, diff]
fix
This patch fixes up all the problems
This patch changes configure.ac, so the ebuild will need to run autoconf to update everything
Created attachment 86765 [details, diff]
fix
small nitpick, changed freealut to alut in a comment
Ooops thanks, i searched for it before submiting but didnt find anything, should have been more careful |
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../shared -I../simulation -I../graphics -Wall -O3 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/include/SDL -D_REENTRANT -MT sndsample.o -MD -MP -MF ".deps/sndsample.Tpo" \ -c -o sndsample.o `test -f 'sndsample.cpp' || echo './'`sndsample.cpp; \ then mv -f ".deps/sndsample.Tpo" ".deps/sndsample.Po"; \ else rm -f ".deps/sndsample.Tpo"; exit 1; \ fi sndsample.cpp: In member function