summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/ace/files/ace-1.4-no-xpm.patch')
-rw-r--r--games-board/ace/files/ace-1.4-no-xpm.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/games-board/ace/files/ace-1.4-no-xpm.patch b/games-board/ace/files/ace-1.4-no-xpm.patch
new file mode 100644
index 000000000000..25b06754be42
--- /dev/null
+++ b/games-board/ace/files/ace-1.4-no-xpm.patch
@@ -0,0 +1,24 @@
+--- lib/table.c.orig 2008-01-15 15:05:27.000000000 -0500
++++ 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;
+