aboutsummaryrefslogtreecommitdiff
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
parent485c87a063a843ab4ed07afa5c795bae34ad31dc (diff)
downloadports-c6667ffa7404a0fe83f03944e363d00fb210eb86.tar.gz
ports-c6667ffa7404a0fe83f03944e363d00fb210eb86.zip
Notes
-rw-r--r--games/xtruco/files/patch-xtruco.c26
-rw-r--r--x11-clocks/bclock/files/patch-bclock.c11
2 files changed, 37 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 )
diff --git a/x11-clocks/bclock/files/patch-bclock.c b/x11-clocks/bclock/files/patch-bclock.c
new file mode 100644
index 000000000000..4a021337f346
--- /dev/null
+++ b/x11-clocks/bclock/files/patch-bclock.c
@@ -0,0 +1,11 @@
+--- bclock.c.orig 2011-09-28 14:32:42.000000000 +0800
++++ bclock.c 2011-09-28 14:33:26.000000000 +0800
+@@ -88,7 +88,7 @@ static XrmOptionDescRec options[] = {
+ {"-transparent","*clock.transparent", XrmoptionNoArg, "TRUE"},
+ };
+
+-void main(argc, argv)
++int main(argc, argv)
+ int argc;
+ char **argv;
+ {