From 5eee5a30c71c8d68f07ea563c9af100c04e1a19a Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 4 Feb 2013 14:30:02 +0000 Subject: - Update MASTER_SITES - Fix build with clang - Add MAKE_JOBS_SAFE PR: 175572 Submitted by: Ports Fury --- games/xchomp/files/patch-resources.c | 102 +++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 games/xchomp/files/patch-resources.c (limited to 'games/xchomp/files/patch-resources.c') diff --git a/games/xchomp/files/patch-resources.c b/games/xchomp/files/patch-resources.c new file mode 100644 index 000000000000..765a404159f1 --- /dev/null +++ b/games/xchomp/files/patch-resources.c @@ -0,0 +1,102 @@ +--- resources.c.orig ++++ resources.c +@@ -9,7 +9,7 @@ + * contexts. + */ + +-create_window(argc, argv) ++void create_window(argc, argv) + int argc; + char *argv[]; + { +@@ -39,7 +39,7 @@ + } + + +-create_pac() ++void create_pac() + { + int i; + +@@ -127,7 +127,7 @@ + } + + +-create_ghost() ++void create_ghost() + { + int i; + +@@ -164,7 +164,7 @@ + } + + +-create_maze_symbols() ++void create_maze_symbols() + { + int i; + Pixmap empty; +@@ -190,7 +190,7 @@ + } + + +-create_maps() ++void create_maps() + { + powermap = XCreatePixmap(display, root, WIN_WIDTH, WIN_HEIGHT, depth); + save = XCreatePixmap(display, root, WIN_WIDTH, WIN_HEIGHT, depth); +@@ -199,8 +199,7 @@ + } + + +- +-create_fruit() ++void create_fruit() + { + fruit_pix[0] = XCreatePixmapFromBitmapData(display, root, fcherry_bits, + GHOST_SIZE, GHOST_SIZE, 1, 0, 1); +@@ -261,7 +260,7 @@ + } + + +-create_GCs() ++void create_GCs() + { + XGCValues gcv; + unsigned long mask; +@@ -341,7 +340,7 @@ + } + + +-create_demo_images() ++void create_demo_images() + { + demo_mask[0] = XCreatePixmapFromBitmapData(display, root, bigc_bits, + 48, 48, 1, 0, 1); +@@ -380,7 +379,7 @@ + } + + +-clear_maps() ++void clear_maps() + { + XFillRectangle(display, powermap, clearGC, 0, 0, WIN_WIDTH, WIN_HEIGHT); + XFillRectangle(display, save, clearGC, 0, 0, WIN_WIDTH, WIN_HEIGHT); +@@ -388,7 +387,7 @@ + } + + +-create_regions() ++void create_regions() + { + XRectangle full_rect; + int i; +@@ -411,7 +410,7 @@ + } + + +-destroy_regions() ++void destroy_regions() + { + int i; + -- cgit v1.2.3