aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-06-18 01:59:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-06-18 01:59:51 +0800
commit4ea8d9eecea33a102a307de509104ce0ec92b953 (patch)
treeba12c39598455eaa297b3552764305697d53ef63 /games
parent1aaf98ec2ee4d15cc8f0ed4bbd0c46410aa41f35 (diff)
downloadfreebsd-ports-gnome-4ea8d9eecea33a102a307de509104ce0ec92b953.tar.gz
freebsd-ports-gnome-4ea8d9eecea33a102a307de509104ce0ec92b953.tar.zst
freebsd-ports-gnome-4ea8d9eecea33a102a307de509104ce0ec92b953.zip
- Fix build with clang
Diffstat (limited to 'games')
-rw-r--r--games/torrent/files/patch-src-torrent.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/games/torrent/files/patch-src-torrent.c b/games/torrent/files/patch-src-torrent.c
index 50a778b7f668..921c3a2d3ba9 100644
--- a/games/torrent/files/patch-src-torrent.c
+++ b/games/torrent/files/patch-src-torrent.c
@@ -1,5 +1,5 @@
---- src/torrent.c.orig Thu Nov 17 16:18:29 2005
-+++ src/torrent.c Thu Nov 17 16:19:26 2005
+--- src/torrent.c.orig 2013-06-17 21:58:19.795111620 +0400
++++ src/torrent.c 2013-06-17 21:58:27.445112740 +0400
@@ -328,6 +328,8 @@
int x, y;
@@ -46,3 +46,12 @@
for(y = 0; y < yBSize; y++) {
for(x = 0; x < xBSize; x++) {
if(board[y][x] && (board[y][x]->color == color ||
+@@ -1045,7 +1048,7 @@
+
+ /*****************************************************
+ ****************************************************/
+-inline void SE_CheckEvents()
++void SE_CheckEvents()
+ {
+ SDL_Event event;
+ int x, y;