14 Commits

Author SHA1 Message Date
edd
65c1c37291 games/odamex: Unbreak.
We had missed one place where the SDL versioning had to be changed.

OK thfr@, thanks.
2022-10-26 20:02:40 +00:00
edd
4af53dd6b1 games/odamex: mark broken for now.
Since SDL2 was updated, odamex no longer works. thfr@ recently committed a fix
to make it compile at least, but it still segfaults at runtime.

Marking BROKEN until I find time to look into it.

backtrace from thfr@ follows:

```
(gdb) bt full
#0  I_GetVideoCapabilities ()
    at /usr/ports/pobj/odamex-0.9.5/odamex-src-0.9.5/client/sdl/i_video.cpp:723
No locals.
#1  I_InitHardware ()
    at /usr/ports/pobj/odamex-0.9.5/odamex-src-0.9.5/client/sdl/i_video.cpp:709
        native_mode = <optimized out>
#2  0x0000051a781789db in D_DoomMain ()
    at /usr/ports/pobj/odamex-0.9.5/odamex-src-0.9.5/client/src/d_main.cpp:790
        newwadfiles = {<std::__1::__vector_base<OWantFile, std::__1::allocator<OWantFile> >> = {<std::__1::__vector_base_common<true>> = {<No data fields>}, __begin_ = 0x0,
            __end_ = 0x0,
            __end_cap_ = {<std::__1::__compressed_pair_elem<OWantFile*, 0, false>> = {
                __value_ = 0x0}, <std::__1::__compressed_pair_elem<std::__1::allocator<OWantFile>, 1, true>> = {<std::__1::allocator<OWantFile>> = {<std::__1::__non_trivial_if<true, std::__1::allocator<OWantFile> >> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}}, <No data fields>}
        newpatchfiles = {<std::__1::__vector_base<OWantFile, std::__1::allocator<OWantFile> >> = {<std::__1::__vector_base_common<true>> = {<No data fields>}, __begin_ = 0x0,
            __end_ = 0x0,
            __end_cap_ = {<std::__1::__compressed_pair_elem<OWantFile*, 0, false>> = {
                __value_ = 0x0}, <std::__1::__compressed_pair_elem<std::__1::allocator<OWantFile>, 1, true>> = {<std::__1::allocator<OWantFile>> = {<std::__1::__non_trivial_if<true, std::__1::allocator<OWantFile> >> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}}, <No data fields>}
        iwad_filename_cstr = 0x0
        val = <optimized out>
        p = <optimized out>
#3  0x0000051a781d9cef in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/ports/pobj/odamex-0.9.5/odamex-src-0.9.5/client/sdl/i_main.cpp:278
        crashdir = <optimized out>
        CON_FILE = <optimized out>
        sdl_flags = <error reading variable sdl_flags (Cannot access memory at address 0x1)>
        error = <optimized out>
```
2022-10-25 11:02:44 +00:00
thfr
2cf8801a60 odamex' build system doesn't account for new sdl2 major.minor versioning.
Fix build by still following the #define SDL20 pathway.
ok tb@
2022-10-23 14:09:28 +00:00
edd
8e0e53d28a games/odamex: Disable AltiVec on PowerPC.
From Brad Smith:
```
I noticed odamex is currently failing to build on PowerPC with the AltiVec
support. Since we disable AltiVec support on PowerPC anyway then go ahead and
do so here as well.
```
2022-08-01 09:28:08 +00:00
rsadowski
6ecf5561f1 Fix build with CMake 3.23
- Use CFLAGS and CXXFLAGS instead of  CMAKE_CXX_FLAGS and CMAKE_C_FLAGS.
- Use MODCMAKE_LDFLAGS instead of CMAKE_EXE_LINKER_FLAGS
- Fix broken builds with CMake 3.23
2022-05-28 06:19:58 +00:00
naddy
9433d2a35f drop RCS Ids 2022-03-11 19:04:03 +00:00
edd
ddb8f598c7 games/odamex: simple update to 0.9.5 to fix a security bug.
From the release notes:

"This is a small release containing a fix for an exploit that allowed players
to spy on players they weren't supposed to. It is highly recommended that all
servers update to this new release as soon as possible."
2021-09-13 19:51:30 +00:00
sthen
414e18e68c fix cmake check to set "-march=pentium-m" not "-D-march=pentium-m".
this software wants some features not on earlier cpus. (if someone has
a computer too old for this, i would give you a nickel for another
computer, but i bet you have several newer ones already..)
2021-08-29 22:09:09 +00:00
edd
42d84c810a games/odamex: update to version 0.9.4.
Thanks to Ryan Freeman for testing and feedback.
2021-08-22 19:48:24 +00:00
sthen
350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +00:00
edd
e74caf7872 games/odamex: fix build.
OK naddy@
2021-04-28 19:23:21 +00:00
sthen
7cb1984d5f use FIX_CRLF_FILES, this is so much neater I can't believe we didn't
do it before!
2021-02-25 22:26:01 +00:00
edd
e2b5b52f32 Stop games/odamex from picking up x11/agar if installed.
OK naddy@. Thanks!
2021-02-09 20:43:04 +00:00
edd
52eafd1fa2 Import games/odamex.
```
Odamex is a free, cross-platform modification of the Doom engine that allows
players to easily join servers dedicated to playing Doom online.
```

OK solene@, thanks!
2020-10-05 21:07:37 +00:00