diff options
author | joerg <joerg@pkgsrc.org> | 2013-08-31 14:48:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-08-31 14:48:38 +0000 |
commit | a3d9ece973211fe86968c32654f67c83a285e517 (patch) | |
tree | 51e1afb741b23c4c6b4fd3ec409397e93f3a2937 | |
parent | 7728f106e00c1c08007d8209835f547cfbd9815b (diff) | |
download | pkgsrc-a3d9ece973211fe86968c32654f67c83a285e517.tar.gz |
Fix inline use.
-rw-r--r-- | games/xpuyopuyo/distinfo | 3 | ||||
-rw-r--r-- | games/xpuyopuyo/patches/patch-pgame_pfield.c | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/games/xpuyopuyo/distinfo b/games/xpuyopuyo/distinfo index cad8b0ce620..df840e5ab25 100644 --- a/games/xpuyopuyo/distinfo +++ b/games/xpuyopuyo/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2013/01/26 22:18:20 wiz Exp $ +$NetBSD: distinfo,v 1.5 2013/08/31 14:48:38 joerg Exp $ SHA1 (xpuyopuyo-0.9.1.tar.gz) = deadbd3171be68e5684a099a4f27cd68fd7c5bd6 RMD160 (xpuyopuyo-0.9.1.tar.gz) = 4ec08df617414f2c95d22b8c50b4499742cfffd3 @@ -6,3 +6,4 @@ Size (xpuyopuyo-0.9.1.tar.gz) = 577373 bytes SHA1 (patch-aa) = fd64333ae4f71e34f8e4907b83ba847ea22a63f8 SHA1 (patch-ab) = 76e9d2d3da387e49f87525bc0218cc90faffa92d SHA1 (patch-ac) = ab7ec69a6e90bf6821e4fc5ff527b9ec025df081 +SHA1 (patch-pgame_pfield.c) = e2fc58d2a680c54d7728f589ecaa227ebdd91141 diff --git a/games/xpuyopuyo/patches/patch-pgame_pfield.c b/games/xpuyopuyo/patches/patch-pgame_pfield.c new file mode 100644 index 00000000000..79ecdf0bd5c --- /dev/null +++ b/games/xpuyopuyo/patches/patch-pgame_pfield.c @@ -0,0 +1,31 @@ +$NetBSD: patch-pgame_pfield.c,v 1.1 2013/08/31 14:48:38 joerg Exp $ + +--- pgame/pfield.c.orig 2013-08-31 14:21:42.000000000 +0000 ++++ pgame/pfield.c +@@ -29,7 +29,7 @@ + #include <pfield.h> + + +-inline void p_field_clear(pfield *f) { ++void p_field_clear(pfield *f) { + /* p_field_clear + + Clears the playing field to P_CLEAR. */ +@@ -48,7 +48,7 @@ inline void p_field_clear(pfield *f) { + } + + +-inline void p_field_copy(pfield *dest, const pfield *src) { ++void p_field_copy(pfield *dest, const pfield *src) { + /* p_field_copy + + Copies src playing field to the destination playing field given. */ +@@ -183,7 +183,7 @@ void p_field_set(pfield *f, int x, int y + } + + +-inline void _p_field_redraw(pfield *f, int x1, int y1, int x2, int y2, int redraw) { ++static inline void _p_field_redraw(pfield *f, int x1, int y1, int x2, int y2, int redraw) { + + int *p; + int i; |