diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-02-20 06:53:37 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-02-20 06:53:37 +0000 |
commit | 6047e60d752345fe4b73b22da27be4656e6d09df (patch) | |
tree | a10f654d060210d22acc8cbd368563ab82fab1b6 /games/cube/files/patch-protos.h | |
parent | - Fix installation path of mozc_emacs_helper. (diff) |
- Fix invalid dereferencing of null reference which causes startup
crash for cube_client when built with clang 3.6 + -O1 or higher [1]
- Properly track libenet dependency [2]
PR: 197604 [1]
PR: 197605 [2]
Submitted by: dim [1]
Diffstat (limited to 'games/cube/files/patch-protos.h')
-rw-r--r-- | games/cube/files/patch-protos.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/cube/files/patch-protos.h b/games/cube/files/patch-protos.h new file mode 100644 index 000000000000..15af2f48dfd5 --- /dev/null +++ b/games/cube/files/patch-protos.h @@ -0,0 +1,11 @@ +--- protos.h.orig 2015-02-14 01:31:41.352230000 +0100 ++++ protos.h 2015-02-14 01:39:01.934630000 +0100 +@@ -192,7 +192,7 @@ + + // rendermd2 + extern void rendermodel(char *mdl, int frame, int range, int tex, float rad, float x, float y, float z, float yaw, float pitch, bool teammate, float scale, float speed, int snap = 0, int basetime = 0); +-extern mapmodelinfo &getmminfo(int i); ++extern mapmodelinfo *getmminfo(int i); + + // server + extern void initserver(bool dedicated, int uprate, char *sdesc, char *ip, char *master, char *passwd, int maxcl); |