Summary: | version bump - slashem-0.0.772 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | psyill.net |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | dystopianray, prousu |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.slashem.org | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild patch from slashem-0.0.760 to slashem-0.0.771
ebuild patch from 0.0.760 to 0.0.772 Fixes the small problem with USE-flags opengl and sdl |
Description
psyill.net
2005-08-24 07:01:23 UTC
Created attachment 66749 [details, diff]
Ebuild patch from slashem-0.0.760 to slashem-0.0.771
This patch doesn't work. It depends on changes proposed in bug 84153 and doesn't apply cleanly even after that bug is fixed as proposed. Created attachment 82253 [details, diff]
ebuild patch from 0.0.760 to 0.0.772
The above patch applies cleanly to the current 0.0.760 ebuild in portage. Apart from this patch, the 'files/0.0.7E6' directory needs to be copied over to 'files/0.0.7E7' and 'va_copy.patch' needs to be removed as it does not apply cleanly. The resulting ebuild seems to work fine and I've had a few brief games since creating the patch. Also the current 0.0.760 ebuild should be a 0.0.763 ebuild as it does not install the 0.0.7E6 version of slashem, but rather 0.0.7E6F3 I can't get it to compile with USE="-gnome -sdl" but it works with USE="-gnome sdl", which leads be to think that something's obviously missing. gcc -O2 -march=pentium-m -pipe -fomit-frame-pointer -I../include -I/usr/X11R6/include -c -o version.o version.c Loading ... files.o: In function `parse_config_line': files.c:(.text+0xc92): undefined reference to `Sdlgl_parse_options' options.o: In function `initoptions': options.c:(.text+0x7518): undefined reference to `Sdlgl_parse_options' windows.o:(.rodata+0x10): undefined reference to `sdlgl_hardw_procs' collect2: ld returned 1 exit status distcc[14435] ERROR: compile (null) on localhost failed make[1]: *** [Sysunix] Error 1 make[1]: Leaving directory `/var/tmp/portage/slashem-0.0.772/work/slashem-0.0.7E7F2/src' make: *** [slashem] Error 2 !!! ERROR: games-roguelike/slashem-0.0.772 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile slashem-0.0.772.ebuild, line 81: Called die !!! make all !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/portage' This is a dependency problem in the ebuild. Slash'EM uses OpenGL only to accelerate SDL and that is why compiling with USE="opengl -sdl" leads to error mentioned above. Ebuild should only consider opengl when sdl is defined too. OK. So USE="sdl -opengl" is valid, but USE="opengl -sdl" is not? That is correct. OpenGL in Slash'EM requires SDL. Created attachment 98821 [details, diff]
Fixes the small problem with USE-flags opengl and sdl
Excellent... added (slightly modified) in portage now... |