diff options
author | danfe <danfe@FreeBSD.org> | 2006-07-06 10:02:05 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2006-07-06 10:02:05 +0000 |
commit | 497007a73a7b673c19c51be81ba90518ac06015d (patch) | |
tree | 26a04380b579b48913b73efaf071567c3c4e6c11 /games/quetoo/files | |
parent | 045fcfb4bb5af8dc7c7931b05cdd863ecb085046 (diff) | |
download | FreeBSD-ports-497007a73a7b673c19c51be81ba90518ac06015d.zip FreeBSD-ports-497007a73a7b673c19c51be81ba90518ac06015d.tar.gz |
Update to version 0.4.0.
Diffstat (limited to 'games/quetoo/files')
-rw-r--r-- | games/quetoo/files/extra-patch-fbsd4 | 84 | ||||
-rw-r--r-- | games/quetoo/files/patch-configure.in | 47 |
2 files changed, 54 insertions, 77 deletions
diff --git a/games/quetoo/files/extra-patch-fbsd4 b/games/quetoo/files/extra-patch-fbsd4 index f965509..1a903af 100644 --- a/games/quetoo/files/extra-patch-fbsd4 +++ b/games/quetoo/files/extra-patch-fbsd4 @@ -1,23 +1,3 @@ ---- src/main.c.orig Sun Apr 9 20:11:49 2006 -+++ src/main.c Fri Jun 16 05:00:44 2006 -@@ -289,7 +289,7 @@ - ret = fread(ptr, size, nitems, fp); - err = errno; - if(ret != nitems){ -- printf("verify_fread(...,%zu,%zu,...): return value: %zu\n", size, nitems, ret); -+ printf("verify_fread(...,%u,%u,...): return value: %u\n", size, nitems, ret); - if(ret == 0 && ferror(fp)){ - printf(" error: %s\n", strerror(err)); - printf(" fileno=%d\n", fileno(fp)); -@@ -306,7 +306,7 @@ - ret = fwrite(ptr, size, nitems, fp); - err = errno; - if(ret != nitems){ -- printf("verify_fwrite(...,%zu,%zu,...) = %zu\n", size, nitems, ret); -+ printf("verify_fwrite(...,%u,%u,...) = %u\n", size, nitems, ret); - if(ret == 0 && ferror(fp)){ - printf(" error: %s\n", strerror(err)); - printf(" fileno=%d\n", fileno(fp)); --- src/qmass/p_client.c.orig Sat Apr 8 06:51:19 2006 +++ src/qmass/p_client.c Fri Jun 16 05:06:09 2006 @@ -850,6 +850,9 @@ @@ -59,8 +39,8 @@ gi.sound(ent, CHAN_NO_PHS_ADD, gi.soundindex(sound), 1, ATTN_NONE, 0); } ---- src/ref_glx.c.orig Tue Apr 11 08:56:53 2006 -+++ src/ref_glx.c Fri Jun 16 04:53:40 2006 +--- src/vid_glx.c.orig Tue Apr 11 08:56:53 2006 ++++ src/vid_glx.c Fri Jun 16 04:53:40 2006 @@ -785,6 +785,9 @@ XSizeHints *sizehints; XWMHints *wmhints; @@ -80,20 +60,21 @@ XF86VidModeGetAllModeLines(dpy, screen, &num_vidmodes, &vidmodes); if(fullscreen){ ---- src/ref_softx.c.orig Sat Apr 22 19:54:36 2006 -+++ src/ref_softx.c Fri Jun 16 04:50:02 2006 -@@ -846,6 +846,10 @@ +--- src/vid_softx.c.orig Sat Apr 22 19:54:36 2006 ++++ src/vid_softx.c Fri Jun 16 04:50:02 2006 +@@ -747,6 +747,11 @@ + XSizeHints *sizehints; XWMHints *wmhints; unsigned long mask; - int i; ++ int i; +#ifdef HAVE_XF86_VIDMODE + int num_vidmodes = 0; +#endif + XGCValues vals; - window_width = width; - window_height = height; -@@ -870,8 +874,6 @@ + // destroy existing window + SWimp_Shutdown(); +@@ -768,8 +773,6 @@ } #ifdef HAVE_XF86_VIDMODE @@ -102,7 +83,7 @@ XF86VidModeGetAllModeLines(dpy, screen, &num_vidmodes, &vidmodes); if(fullscreen){ -@@ -996,7 +998,6 @@ +@@ -894,7 +897,6 @@ } #endif // HAVE_XF86_VIDMODE @@ -110,6 +91,15 @@ vals.graphics_exposures = False; gc = XCreateGC(dpy, win, GCGraphicsExposures, &vals); +@@ -906,7 +908,7 @@ + } + + viddef.height = height; viddef.width = width; +- int i = ((viddef.width * 4 + 7) & ~7) * viddef.height; ++ i = ((viddef.width * 4 + 7) & ~7) * viddef.height; + + x_framebuffer = XCreateImage(dpy, + visinfo->visual, --- src/tga.c.orig Wed Apr 26 23:26:50 2006 +++ src/tga.c Fri Jun 16 04:52:35 2006 @@ -35,6 +35,9 @@ @@ -132,3 +122,37 @@ red = green = blue = alpha = 0; packet_header = packet_size = j = 0; +--- src/cl_parse.c.orig Thu Jun 22 10:26:09 2006 ++++ src/cl_parse.c Thu Jul 6 09:38:33 2006 +@@ -559,11 +559,12 @@ + * Returns true of msg should be discarded, according to cl_ignore. + */ + qboolean CL_IgnoreChatMessage(char *msg){ ++ char *s; + + if(!*cl_ignore->string || strlen(cl_ignore->string) < 1) + return false; // nothing currently filtered + +- char *s = strtok(cl_ignore->string, " "); ++ s = strtok(cl_ignore->string, " "); + while(s){ + if(strstr(msg, s)) + return true; +--- src/common.c.orig Fri Jun 30 09:23:25 2006 ++++ src/common.c Thu Jul 6 09:38:37 2006 +@@ -1188,6 +1188,7 @@ + */ + void Qcommon_Init(int argc, char **argv){ + char *s; ++ #include "binds.h" + + if(setjmp(abortframe)) + Sys_Error("Error during initialization"); +@@ -1215,7 +1216,6 @@ + + FS_InitFilesystem(); + +- #include "binds.h" + Cbuf_AddText(DEFAULT_BINDS); + Cbuf_AddText("exec quetoo.cfg\n"); + diff --git a/games/quetoo/files/patch-configure.in b/games/quetoo/files/patch-configure.in deleted file mode 100644 index 70003d1..0000000 --- a/games/quetoo/files/patch-configure.in +++ /dev/null @@ -1,47 +0,0 @@ ---- configure.in.orig Sat Jun 3 00:56:38 2006 -+++ configure.in Sat Jun 3 01:01:40 2006 -@@ -129,14 +129,19 @@ - ) - ) - --if test "x$with_sdl" != xno; then -- AC_CHECK_HEADER(SDL/SDL.h, -+if test "x${with_sdl}" != xno; then -+ SDL_CFLAGS=`${SDL_CONFIG} --cflags` -+ save_CPPFLAGS="$CPPFLAGS" -+ CPPFLAGS="$CPPFLAGS $SDL_CFLAGS" -+ -+ AC_CHECK_HEADER(SDL.h, - HAVE_SDL=yes -- SDL_CFLAGS=`sdl-config --cflags` -- SDL_LIBS=`sdl-config --libs` -+ SDL_LIBS=`${SDL_CONFIG} --libs` - SND_REFS="$SND_REFS snd_sdl.la", - HAVE_SDL=no - ) -+ -+ CPPFLAGS="$save_CPPFLAGS" - fi - AC_SUBST(HAVE_SDL) - AC_SUBST(SDL_CFLAGS) -@@ -207,14 +212,18 @@ - ) - - if test "x${with_mysql}" != xno ; then -+ MYSQL_CFLAGS=`mysql_config --cflags` -+ save_CPPFLAGS="$CPPFLAGS" -+ CPPFLAGS="$CPPFLAGS $MYSQL_CFLAGS" - -- AC_CHECK_HEADER(mysql/mysql.h, -+ AC_CHECK_HEADER(mysql.h, - HAVE_MYSQL=yes - AC_DEFINE(HAVE_MYSQL, 1, [Define this if you have MySQL]) -- MYSQL_CFLAGS=`mysql_config --cflags` - MYSQL_LIBS=`mysql_config --libs`, - HAVE_MYSQL=no - ) -+ -+ CPPFLAGS="$save_CPPFLAGS" - fi - AC_SUBST(MYSQL_CFLAGS) - AC_SUBST(MYSQL_LIBS) |