Jump to content

Zandronum Server on FreeBSD: Difference between revisions

no edit summary
No edit summary
No edit summary
(3 intermediate revisions by the same user not shown)
Line 25: Line 25:
|- style='background: #b3ffb3'
|- style='background: #b3ffb3'
| '''2.1.2'''
| '''2.1.2'''
|
| [https://csnxs.uk/archive/id/doom/sourceports/zandronum/builds/freebsd/zandronum-server-freebsd-i386-2.1.2.txz zandronum-server-freebsd-i386-2.1.2.txz]
| [https://csnxs.uk/archive/id/doom/sourceports/zandronum/builds/freebsd/zandronum-server-freebsd-x86_64-2.1.2.txz zandronum-server-freebsd-x86_64-2.1.2.txz]
| [https://csnxs.uk/archive/id/doom/sourceports/zandronum/builds/freebsd/zandronum-server-freebsd-x86_64-2.1.2.txz zandronum-server-freebsd-x86_64-2.1.2.txz]
|}
|}
Line 62: Line 62:
</pre<noinclude></noinclude>>
</pre<noinclude></noinclude>>


* Append this line after the other <code>#include</code>s near the top of <code>src/sdl/i_system.cpp</code>:
* Append this line after the other <code>#include</code>s near the top of <code>src/sdl/i_system.cpp</code> (see {{Issue|2815|Include <sys/wait.h> in sdl/i_system.cpp}}):
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
#include <sys/wait.h>
#include <sys/wait.h>
Line 69: Line 69:
* Generate the CMake files
* Generate the CMake files
<pre>
<pre>
cd .. && cmake -DCMAKE_BUILD_TYPE=Release -DSERVER_ONLY -DCMAKE_CXX_FLAGS="-fpermissive" ../zandronum
mkdir ../build && cd ../build && cmake -DCMAKE_BUILD_TYPE=Release -DSERVERONLY=1 -DCMAKE_CXX_FLAGS="-fpermissive" ../zandronum
</pre>
</pre>