Date: Tue, 4 Jun 2013 02:42:06 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319820 - head/games/chroma/files Message-ID: <201306040242.r542g6A5087377@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jun 4 02:42:05 2013 New Revision: 319820 URL: http://svnweb.freebsd.org/changeset/ports/319820 Log: - Fix build with clang Added: head/games/chroma/files/ head/games/chroma/files/patch-sdlshadowdisplay.c (contents, props changed) Added: head/games/chroma/files/patch-sdlshadowdisplay.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/chroma/files/patch-sdlshadowdisplay.c Tue Jun 4 02:42:05 2013 (r319820) @@ -0,0 +1,47 @@ +--- sdlshadowdisplay.c.orig 2010-03-01 10:07:00.000000000 +0300 ++++ sdlshadowdisplay.c 2013-06-04 03:08:27.120111885 +0400 +@@ -88,7 +88,7 @@ + void displayshadowed_level(struct level* plevel); + void displayshadowed_movers(struct level* plevel, int redraw); + +-inline void displayshadowed_piece(struct level* plevel, int p, int x, int y, int d) ++static inline void displayshadowed_piece(struct level* plevel, int p, int x, int y, int d) + { + SDL_Surface *pimage; + +@@ -255,7 +255,7 @@ + } + } + +-inline void displayshadowed_pieceshadow(struct level* plevel, int p, int x, int y, int d) ++static inline void displayshadowed_pieceshadow(struct level* plevel, int p, int x, int y, int d) + { + SDL_Surface *pimage; + +@@ -310,7 +310,7 @@ + SDL_BlitSurface(pimage, &srect, screen_surface, &drect); + } + +-inline void displayshadowed_piecebase(struct level* plevel, int x, int y) ++static inline void displayshadowed_piecebase(struct level* plevel, int x, int y) + { + int p; + SDL_Surface *pimage; +@@ -1063,7 +1063,7 @@ + } + } + +-inline void displayshadowed_redrawpiece(int p, int x, int y, int d) ++static inline void displayshadowed_redrawpiece(int p, int x, int y, int d) + { + int dx, dy; + +@@ -1111,7 +1111,7 @@ + screen_redraw(0, 0, screen_width, screen_height); + } + +-inline int displayshadowed_count(struct level* plevel, int x, int y, int delta) ++static inline int displayshadowed_count(struct level* plevel, int x, int y, int delta) + { + unsigned int d; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306040242.r542g6A5087377>