aboutsummaryrefslogtreecommitdiff
path: root/games/xtruco
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2011-09-28 06:35:43 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2011-09-28 06:35:43 +0000
commitc6667ffa7404a0fe83f03944e363d00fb210eb86 (patch)
tree0b9a504f2ed23e3c3e48414e46ec76d08dc868a3 /games/xtruco
parent485c87a063a843ab4ed07afa5c795bae34ad31dc (diff)
downloadports-c6667ffa7404a0fe83f03944e363d00fb210eb86.tar.gz
ports-c6667ffa7404a0fe83f03944e363d00fb210eb86.zip
Fix build error with clang.
Notes
Notes: svn path=/head/; revision=282554
Diffstat (limited to 'games/xtruco')
-rw-r--r--games/xtruco/files/patch-xtruco.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/games/xtruco/files/patch-xtruco.c b/games/xtruco/files/patch-xtruco.c
new file mode 100644
index 000000000000..54cc81a6c90c
--- /dev/null
+++ b/games/xtruco/files/patch-xtruco.c
@@ -0,0 +1,26 @@
+--- xtruco.c.orig 2011-09-28 10:45:56.000000000 +0800
++++ xtruco.c 2011-09-28 10:51:28.000000000 +0800
+@@ -67,6 +67,7 @@ int pc, you, Who_Play, You_Play, first
+ int alert, Sum_Val, ValGame, danger, Begining;
+ int Play, Beginer, Who_Say_Truco,score1, score2;
+ int SHOW=1;
++void Refresh(Display *, Window, GC, Pixmap, int, int, int, int);
+
+ main( argc, argv )
+ int argc;
+@@ -603,6 +604,7 @@ int *width, *height;
+ return( True );
+ }
+
++void
+ Refresh( display, window, gc, pixmap, x, y, width, height )
+ Display *display;
+ Window window;
+@@ -632,6 +634,7 @@ int x, y, width, height;
+ }
+ XCopyArea( display, pixmap, window, gc, x, y, width,
+ height, x, y );
++ return;
+ }
+
+ MakeButtons( display, window, gc, fore, back, font_id, h, v )