diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-01-11 06:22:30 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-01-11 06:22:30 +0800 |
commit | 994a3b4311634aaf9c4a30f4c204ab4fa5004f61 (patch) | |
tree | 356cf36a225467a39e90e8b1312590a1437e1433 /games/egl/files | |
parent | b5b7d4b65a76957b231edd70c2b3c92e797852cc (diff) | |
download | freebsd-ports-gnome-994a3b4311634aaf9c4a30f4c204ab4fa5004f61.tar.gz freebsd-ports-gnome-994a3b4311634aaf9c4a30f4c204ab4fa5004f61.tar.zst freebsd-ports-gnome-994a3b4311634aaf9c4a30f4c204ab4fa5004f61.zip |
- Fix building with GCC 4.x.
Reported by: pointyhat
Diffstat (limited to 'games/egl/files')
-rw-r--r-- | games/egl/files/patch-renderer__rf_image.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/egl/files/patch-renderer__rf_image.c b/games/egl/files/patch-renderer__rf_image.c new file mode 100644 index 000000000000..91779a55b7ff --- /dev/null +++ b/games/egl/files/patch-renderer__rf_image.c @@ -0,0 +1,11 @@ +--- renderer/rf_image.c.orig Wed Jan 10 18:55:48 2007 ++++ renderer/rf_image.c Wed Jan 10 18:57:53 2007 +@@ -44,7 +44,7 @@ + image_t *r_lmTextures[R_MAX_LIGHTMAPS]; + static image_t r_imageList[MAX_IMAGES]; + static image_t *r_imageHashTree[MAX_IMAGE_HASH]; +-static uint32 r_numImages; ++uint32 r_numImages; + + static byte r_intensityTable[256]; + static byte r_gammaTable[256]; |