summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+ {