diff options
author | joerg <joerg@pkgsrc.org> | 2013-06-27 15:49:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-06-27 15:49:43 +0000 |
commit | fd395fa9c57f62ce8ce996823f567ea953ac0c1d (patch) | |
tree | 714549cf0fb23497141768b745a37418043b91ba /games | |
parent | 9ed14a3b81771d28dd6bfc56e841dd513f53cdd9 (diff) | |
download | pkgsrc-fd395fa9c57f62ce8ce996823f567ea953ac0c1d.tar.gz |
Fix string.h use.
Diffstat (limited to 'games')
-rw-r--r-- | games/xracer/distinfo | 10 | ||||
-rw-r--r-- | games/xracer/patches/patch-src_game.c | 12 | ||||
-rw-r--r-- | games/xracer/patches/patch-src_jpeg.c | 12 | ||||
-rw-r--r-- | games/xracer/patches/patch-src_math.c | 12 | ||||
-rw-r--r-- | games/xracer/patches/patch-src_mpeg_store.c | 12 | ||||
-rw-r--r-- | games/xracer/patches/patch-src_player.c | 12 | ||||
-rw-r--r-- | games/xracer/patches/patch-src_text.c | 13 | ||||
-rw-r--r-- | games/xracer/patches/patch-src_utils.c | 12 | ||||
-rw-r--r-- | games/xracer/patches/patch-src_video.c | 12 |
9 files changed, 106 insertions, 1 deletions
diff --git a/games/xracer/distinfo b/games/xracer/distinfo index ee608b4fa23..ad9f0194fbd 100644 --- a/games/xracer/distinfo +++ b/games/xracer/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2012/10/26 20:22:12 joerg Exp $ +$NetBSD: distinfo,v 1.10 2013/06/27 15:49:43 joerg Exp $ SHA1 (xracer-0.96.9.tar.gz) = 8c7a4f0be46ee83bbb588f6c5834340f519a3059 RMD160 (xracer-0.96.9.tar.gz) = 1e9611dd55b1a3f0bf681a7051fcbb37bec47a6e @@ -23,3 +23,11 @@ SHA1 (patch-ar) = be958b29fdf3fdb82df9b0cc6f1c152371c7a858 SHA1 (patch-as) = 5f22c78bec9b9fab9feb2cae73afc251f4367066 SHA1 (patch-include_xracer-craft.h) = b53a6f89f29263451ea111a44a5b84eb91721c1f SHA1 (patch-include_xracer-player.h) = 6a7f33c926d74c1d2ee9dc21d91acbf269b57f6c +SHA1 (patch-src_game.c) = cb5a73dde445eec2aa924e61be4f1fd0c3e9135e +SHA1 (patch-src_jpeg.c) = 8549eccb261e3169381ff6c101895ed2815d6c78 +SHA1 (patch-src_math.c) = c358f346184092e1e68f21ec8ba82e253093fb97 +SHA1 (patch-src_mpeg_store.c) = 13cf0c3625be119c68825961282beb50a3aa4a70 +SHA1 (patch-src_player.c) = e2a8305257f38073b03fbd39a95c1a35542506af +SHA1 (patch-src_text.c) = bec183a1fb701e4bf854df52012e22bf87053891 +SHA1 (patch-src_utils.c) = d8fc536848a3e116528af64b7f97fd50667f7af1 +SHA1 (patch-src_video.c) = fa81bfea35390ab48c024433288b2252dada39d1 diff --git a/games/xracer/patches/patch-src_game.c b/games/xracer/patches/patch-src_game.c new file mode 100644 index 00000000000..b18a5702085 --- /dev/null +++ b/games/xracer/patches/patch-src_game.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_game.c,v 1.1 2013/06/27 15:49:43 joerg Exp $ + +--- src/game.c.orig 2013-06-26 22:52:42.000000000 +0000 ++++ src/game.c +@@ -21,6 +21,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + + #include <GL/glut.h> + diff --git a/games/xracer/patches/patch-src_jpeg.c b/games/xracer/patches/patch-src_jpeg.c new file mode 100644 index 00000000000..80d2cf51995 --- /dev/null +++ b/games/xracer/patches/patch-src_jpeg.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_jpeg.c,v 1.1 2013/06/27 15:49:43 joerg Exp $ + +--- src/jpeg.c.orig 2013-06-26 22:52:18.000000000 +0000 ++++ src/jpeg.c +@@ -21,6 +21,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + + #ifdef HAVE_JPEGLIB_H + #include <jpeglib.h> diff --git a/games/xracer/patches/patch-src_math.c b/games/xracer/patches/patch-src_math.c new file mode 100644 index 00000000000..bde254cafc0 --- /dev/null +++ b/games/xracer/patches/patch-src_math.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_math.c,v 1.1 2013/06/27 15:49:43 joerg Exp $ + +--- src/math.c.orig 2013-06-26 22:51:55.000000000 +0000 ++++ src/math.c +@@ -21,6 +21,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <math.h> + + #include "xracer-math.h" diff --git a/games/xracer/patches/patch-src_mpeg_store.c b/games/xracer/patches/patch-src_mpeg_store.c new file mode 100644 index 00000000000..f9d62e4b540 --- /dev/null +++ b/games/xracer/patches/patch-src_mpeg_store.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_mpeg_store.c,v 1.1 2013/06/27 15:49:43 joerg Exp $ + +--- src/mpeg/store.c.orig 2013-06-26 22:53:12.000000000 +0000 ++++ src/mpeg/store.c +@@ -31,6 +31,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + + #include "mpeg-config.h" + #include "global.h" diff --git a/games/xracer/patches/patch-src_player.c b/games/xracer/patches/patch-src_player.c new file mode 100644 index 00000000000..13744ed7864 --- /dev/null +++ b/games/xracer/patches/patch-src_player.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_player.c,v 1.1 2013/06/27 15:49:43 joerg Exp $ + +--- src/player.c.orig 2013-06-26 22:51:40.000000000 +0000 ++++ src/player.c +@@ -20,6 +20,7 @@ + #include "config.h" + + #include <stdio.h> ++#include <string.h> + #include <stdlib.h> + + #include "xracer.h" diff --git a/games/xracer/patches/patch-src_text.c b/games/xracer/patches/patch-src_text.c new file mode 100644 index 00000000000..83393b344ad --- /dev/null +++ b/games/xracer/patches/patch-src_text.c @@ -0,0 +1,13 @@ +$NetBSD: patch-src_text.c,v 1.1 2013/06/27 15:49:43 joerg Exp $ + +--- src/text.c.orig 2013-06-26 22:51:11.000000000 +0000 ++++ src/text.c +@@ -333,7 +333,7 @@ begin_font (const char *name, int size, + saved_total_height = total_height; + + font = xmalloc (sizeof (struct font)); +- memset (font, 0, sizeof font); ++ memset (font, 0, sizeof *font); + font->next = fonts; + fonts = font; + diff --git a/games/xracer/patches/patch-src_utils.c b/games/xracer/patches/patch-src_utils.c new file mode 100644 index 00000000000..bc8d2f9bb3b --- /dev/null +++ b/games/xracer/patches/patch-src_utils.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_utils.c,v 1.1 2013/06/27 15:49:43 joerg Exp $ + +--- src/utils.c.orig 2013-06-26 22:50:54.000000000 +0000 ++++ src/utils.c +@@ -21,6 +21,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + + #ifdef HAVE_UNISTD_H + #include <unistd.h> diff --git a/games/xracer/patches/patch-src_video.c b/games/xracer/patches/patch-src_video.c new file mode 100644 index 00000000000..1ec7856c0e8 --- /dev/null +++ b/games/xracer/patches/patch-src_video.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_video.c,v 1.1 2013/06/27 15:49:43 joerg Exp $ + +--- src/video.c.orig 2013-06-26 22:50:42.000000000 +0000 ++++ src/video.c +@@ -21,6 +21,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + + #include <GL/glu.h> + |