web developer & system programmer

coder . cl

ramblings and thoughts on programming...


quakeforge-0.5.5

published: 25-12-2006 / updated: 25-12-2006
posted in: patches
by Daniel Molina Wegener

quakeforge-0.5.5 does not compile with gcc 4.0 and upper, the following patch solves this problem. The patch was submited to the mailing list of quakeforge developers, but the mailbox isn’t working. Finally, the patch was submitted through bugzilla.

### download the quakeforge-0.5.5 source code
$ wget -c 'http://prdownloads.sourceforge.net/quake/quakeforge-0.5.5.tar.bz2'
### extract the tarball
$ tar xjvf quakeforge-0.5.5.tar.bz2
### get the patch
$ wget -c 'http://www.coder.cl/patches/quakeforge-0.5.5-gcc4-v3.patch.gz'
### uncompress the patch
$ gunzip quakeforge-0.5.5-gcc4-v3.patch.gz
### patch the source
$ patch -p0 < quakeforge-0.5.5-gcc4-v3.patch
### go to the source directory
$ cd quakeforge-0.5.5
### apply the configure script with your own options
$ ./configure --with-x
### build the software
$ make
### install the software
$ make install

Thanks to Javier Uribe for reporting problems with SDL and X11 clients, the new patch version has support for them. I've hated to install extra packages that I do not use, but the patch now works with SDL.

The patch does not have any kind of warranty.


3 comments to “quakeforge-0.5.5”

  1. This helped out a lot. One thing I did notice was the compile error I got with quakeforge-0.5.5/libs/video/targets/context_x11.c (line 100) that wasn’t covered in the patch. If you just remove the “static” modifier, making the line look like this:

    vec3_t x_gamma = {-1, -1, -1};

    It should compile.

  2. Sorry, I can’t remove the static declaration for that variable. It should crash the game or throw a linking time error for duplicate variables… I will analyze and test your suggestion.

    Thanks for testing.

  3. Sorry. I am not a C coder. I actually have no idea what my suggestion would do.

post a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>