You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-board/ace/files/ace-1.4-no-xpm.patch

25 lines
571 B

--- a/lib/table.c 2008-01-15 15:05:27.000000000 -0500
+++ b/lib/table.c 2010-09-29 17:34:40.925310980 -0400
@@ -23,7 +23,6 @@
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <X11/Xatom.h>
-#include <X11/xpm.h>
#define CD printf("%d: %d %d %d %d\n", __LINE__, ex, ey, ew, eh)
#undef CD
@@ -165,13 +164,6 @@
xwin_create (width, height);
}
-typedef struct PicRec {
- Pixmap pixmap;
- Pixmap mask;
- char **xpm_data;
- int image_table_index;
-} PicRec;
-
int get_picture_default_width = CARD_WIDTH;
int get_picture_default_height = CARD_HEIGHT;