Firebird News

Tuesday, June 22, 2010

#quake #sdl on #haikuos


tar -x --strip-components=1 -f sdlquake-1.0.9.tar.gz
tar -x -f quakesw-1.0.6.tar.gz



patch -p1 < sys_sdl.patch
patch -p1 < net_dgrm.patch
patch -p1 < sys_sdl.patch

./configure --host=i686-beos

or you can enable asm optimizations too if you want so

./configure --host=i686-beos --enable-asm



Bellow is why i needed the patches and what they do

first i had this error
sys_sdl.c:16:21: error: sys/shm.h: No such file or directory

deleted the line with

#include sys/shm.h

I have reviewed the udp patches from native client to disable udp related communication

My next patches will be the ones with audio to make it usable and also the network should be reenabled somehow 


M said...

I am confused by the directions. They says to wget a net_dgrm.patch, a net_udp.patch, and then a second net_dgrm.patch.

The patching section then says to use a sys_sdl.patch, a net_dgrm.patch, and then a second sys_sdl.patch.

From where are the 2 sys_sdl patches retrieved and which of the 2 net_dgrm patches are used?

mariuz said...

thanks for the observation the first one is sys_sdl patch

now is fixed