[ace-of-penguins] 40/141: debian/patches/40-include.patch: new
Markus Koschany
apo-guest at moszumanska.debian.org
Wed Jan 6 13:54:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository ace-of-penguins.
commit e1945f3563357d9c333965a6d049d41e3e73b2a3
Author: Jari Aalto <jari.aalto at cante.net>
Date: Sat Apr 9 13:52:46 2011 +0300
debian/patches/40-include.patch: new
---
debian/patches/40-include.patch | 355 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 355 insertions(+)
diff --git a/debian/patches/40-include.patch b/debian/patches/40-include.patch
new file mode 100644
index 0000000..e6d9078
--- /dev/null
+++ b/debian/patches/40-include.patch
@@ -0,0 +1,355 @@
+From 07c1c7d6c50c6f5a9ad3a5af98378079b80eef10 Mon Sep 17 00:00:00 2001
+From: Jari Aalto <jari.aalto at cante.net>
+Date: Sat, 9 Apr 2011 13:37:28 +0300
+Subject: [PATCH] Fix Gcc 4.5 include statements
+Organization: Private
+Content-Type: text/plain; charset="utf-8"
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Jari Aalto <jari.aalto at cante.net>
+---
+ games/freecell.c | 2 ++
+ games/golf.c | 3 +++
+ games/minesweeper.c | 2 ++
+ games/pegged.c | 2 ++
+ games/solitaire.c | 2 ++
+ games/spider.c | 1 +
+ games/taipedit.c | 2 ++
+ games/taipei.c | 2 ++
+ games/taipeilib.c | 2 ++
+ lib/funcs.c | 4 ++++
+ lib/help.c | 4 ++++
+ lib/imagelib.c | 2 ++
+ lib/stack.c | 2 ++
+ lib/table.c | 3 +++
+ lib/table.h | 6 ++++++
+ lib/text2c.c | 1 +
+ lib/xwin.c | 1 +
+ lib/xwin.h | 5 +++++
+ tests/penguins.c | 2 ++
+ tests/test1.c | 2 ++
+ tests/test3.c | 2 ++
+ tests/test4.c | 2 ++
+ tests/test5.c | 2 ++
+ 23 files changed, 56 insertions(+), 0 deletions(-)
+ create mode 100644 lib/table.h
+
+diff --git a/games/freecell.c b/games/freecell.c
+index f5f877e..15f5b92 100644
+--- a/games/freecell.c
++++ b/games/freecell.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdlib.h>
++#include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include "imagelib.h"
+ #include "cards.h"
+diff --git a/games/golf.c b/games/golf.c
+index 17a8f44..149bd79 100644
+--- a/games/golf.c
++++ b/games/golf.c
+@@ -15,6 +15,9 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
++#include <stdlib.h>
++#include <stdio.h>
++#include <string.h>
+ #include <X11/Xlib.h>
+ #include "cards.h"
+
+diff --git a/games/minesweeper.c b/games/minesweeper.c
+index c525a0b..4b33053 100644
+--- a/games/minesweeper.c
++++ b/games/minesweeper.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include "cards.h"
+
+ #define C_EMPTY 0
+diff --git a/games/pegged.c b/games/pegged.c
+index d126afb..9177d0e 100644
+--- a/games/pegged.c
++++ b/games/pegged.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdlib.h>
++#include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include <math.h>
+ #include "cards.h"
+diff --git a/games/solitaire.c b/games/solitaire.c
+index 72c46db..8ba1351 100644
+--- a/games/solitaire.c
++++ b/games/solitaire.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdlib.h>
++#include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include <math.h>
+ #include "imagelib.h"
+diff --git a/games/spider.c b/games/spider.c
+index 0daa591..1db5e75 100644
+--- a/games/spider.c
++++ b/games/spider.c
+@@ -22,6 +22,7 @@
+
+ #include "cards.h"
+ //#include "imagelib.h"
++void get_image_set_display_type (int type);
+
+ #define W CARD_WIDTH
+ #define H CARD_HEIGHT
+diff --git a/games/taipedit.c b/games/taipedit.c
+index 3ae9513..ffd47ad 100644
+--- a/games/taipedit.c
++++ b/games/taipedit.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <X11/Xlib.h>
+ #include <X11/keysym.h>
+ #include "cards.h"
+diff --git a/games/taipei.c b/games/taipei.c
+index 67a5d24..29d51c5 100644
+--- a/games/taipei.c
++++ b/games/taipei.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include "imagelib.h"
+ #include "cards.h"
+ #include "taipeilib.h"
+diff --git a/games/taipeilib.c b/games/taipeilib.c
+index 68ae809..70ab151 100644
+--- a/games/taipeilib.c
++++ b/games/taipeilib.c
+@@ -16,8 +16,10 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdio.h>
++#include <string.h>
+ #include "imagelib.h"
+ #include "taipeilib.h"
++#include "cards.h"
+
+ unsigned char grid[GRID_SX][GRID_SY][GRID_SZ];
+
+diff --git a/lib/funcs.c b/lib/funcs.c
+index 8c9e71b..af88383 100644
+--- a/lib/funcs.c
++++ b/lib/funcs.c
+@@ -15,7 +15,11 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
++
++#include <stdlib.h>
+ #include "funcs.h"
++#include "table.h"
++#include "cards.h"
+
+ static void
+ default_click_cb(int x, int y, int b)
+diff --git a/lib/help.c b/lib/help.c
+index a8dcd3d..9289823 100644
+--- a/lib/help.c
++++ b/lib/help.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <ctype.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -24,6 +26,8 @@
+ #include <X11/keysym.h>
+
+ #include "cards.h"
++#include "xwin.h"
++#include "table.h"
+
+ extern Display *display;
+ extern int screen;
+diff --git a/lib/imagelib.c b/lib/imagelib.c
+index 315f069..f71b96a 100644
+--- a/lib/imagelib.c
++++ b/lib/imagelib.c
+@@ -1,3 +1,5 @@
++#include <stdio.h>
++#include <string.h>
+ #include "imagelib.h"
+ #include "cards.h"
+
+diff --git a/lib/stack.c b/lib/stack.c
+index 1ac156a..c58e4ee 100644
+--- a/lib/stack.c
++++ b/lib/stack.c
+@@ -17,6 +17,8 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
++#include <time.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+diff --git a/lib/table.c b/lib/table.c
+index 55533d9..befe696 100644
+--- a/lib/table.c
++++ b/lib/table.c
+@@ -16,6 +16,7 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <assert.h>
+
+@@ -25,6 +26,8 @@
+ #include <X11/Xatom.h>
+ #include <X11/xpm.h>
+
++#include "xwin.h"
++
+ #define CD printf("%d: %d %d %d %d\n", __LINE__, ex, ey, ew, eh)
+ #undef CD
+ #define CD
+diff --git a/lib/table.h b/lib/table.h
+new file mode 100644
+index 0000000..b1c881d
+--- /dev/null
++++ b/lib/table.h
+@@ -0,0 +1,6 @@
++#ifndef _TABLE_H_
++#define _TABLE_H_
++
++void table_no_resize();
++
++#endif
+diff --git a/lib/text2c.c b/lib/text2c.c
+index 934657b..d31f184 100644
+--- a/lib/text2c.c
++++ b/lib/text2c.c
+@@ -16,6 +16,7 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ int
+ main(int argc, char **argv)
+diff --git a/lib/xwin.c b/lib/xwin.c
+index 2c8fcfa..88941c6 100644
+--- a/lib/xwin.c
++++ b/lib/xwin.c
+@@ -16,6 +16,7 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <assert.h>
+ #include <math.h>
+diff --git a/lib/xwin.h b/lib/xwin.h
+index 9b60e40..9cd080c 100644
+--- a/lib/xwin.h
++++ b/lib/xwin.h
+@@ -32,4 +32,9 @@ int xwin_init (int argc, char **argv);
+ void xwin_create (int width, int height);
+ int xwin_nextevent (XWin_Event *event);
+
++void xwin_fixed_size (int width, int height);
++void xwin_clip (int x, int y, int w, int h);
++void xwin_noclip ();
++int pixel_for (int r, int g, int b);
++
+ #endif
+diff --git a/tests/penguins.c b/tests/penguins.c
+index 50903b6..6e618c6 100644
+--- a/tests/penguins.c
++++ b/tests/penguins.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdlib.h>
++#include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include "cards.h"
+
+diff --git a/tests/test1.c b/tests/test1.c
+index 385c201..4d2f4d6 100644
+--- a/tests/test1.c
++++ b/tests/test1.c
+@@ -15,6 +15,8 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
++#include <stdio.h>
++#include <string.h>
+ #include "cards.h"
+
+ static Picture *cards[4][13];
+diff --git a/tests/test3.c b/tests/test3.c
+index 478db45..52e13fa 100644
+--- a/tests/test3.c
++++ b/tests/test3.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdlib.h>
++#include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include "cards.h"
+
+diff --git a/tests/test4.c b/tests/test4.c
+index 401e062..9c018d1 100644
+--- a/tests/test4.c
++++ b/tests/test4.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdlib.h>
++#include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include "cards.h"
+
+diff --git a/tests/test5.c b/tests/test5.c
+index d066648..4bd4121 100644
+--- a/tests/test5.c
++++ b/tests/test5.c
+@@ -16,6 +16,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ #include <stdlib.h>
++#include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include "cards.h"
+
+--
+1.7.4.1
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ace-of-penguins.git
More information about the Pkg-games-commits
mailing list