Bug 103583 - version bump - slashem-0.0.772
|
Bug#:
103583
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: psyill.net@gmail.com
|
|
Component: Games
|
|
|
URL:
http://www.slashem.org
|
|
Summary: version bump - slashem-0.0.772
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-08-24 07:01 0000
|
An ebuild for SlashEm Vampire stable version 0.0.7E7F1
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
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.
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.
Excellent... added (slightly modified) in portage now...