diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-08-01 05:01:13 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-08-01 05:01:13 +0000 |
commit | 89d232bfadd4741ecb124fca90aa115bb59d541c (patch) | |
tree | 10c6f3f67937d9770900aedd45d720e53ada65cb /games/connect4/files/patch-ab | |
parent | - Remove unnecessary DISTNAME declaration (diff) |
Bye bye abandonwares (part 3)
2011-08-01 deskutils/gkrellm-timers: No more public distfile
2011-08-01 deskutils/multi-backgrounds-daemon: Looks like an abandonware, no more public distfile
2011-08-01 deskutils/py-tagfu: Looks like an abandonware, no more public distfile
2011-08-01 deskutils/taskstep: Looks like an abandonware, no more public distfile
2011-08-01 devel/c_c++_reference: No more public distfiles
2011-08-01 devel/libcoyotl: Looks like an abandonware, no more public distfile
2011-08-01 devel/libfs++: Looks like an abandonware, no more public distfile
2011-08-01 devel/mkmf: Looks like an abandonware, no more public distfile
2011-08-01 devel/p5-Include: No more public distfiles
2011-08-01 devel/rubygem-newgem: broken since 2010/09/22
2011-08-01 devel/tpg: Looks like an abandonware, no more public distfile
2011-08-01 games/amphetamine: Looks like an abandonware, no more public distfile
2011-08-01 games/anagramarama: Looks like an abandonware, no more public distfile
2011-08-01 games/connect4
2011-08-01 games/wrogue: No more public distfiles, looks like an abandonware
2011-08-01 graphics/xmms-msa: Looks like an abandonware, no more public distfile
2011-08-01 japanese/chimera: Look like an abandonware, no more public distifles
2011-08-01 japanese/drpl: Look like an abandonware, no more public distifles
2011-08-01 japanese/dvi2tty: Look like an abandonware, no more public distifles
2011-08-01 japanese/easypr: Look like an abandonware, no more public distifles
2011-08-01 japanese/elisp-manual: Look like an abandonware, no more public distifles
2011-08-01 japanese/emacs-manual: Look like an abandonware, no more public distifles
2011-08-01 japanese/ewipe: Look like an abandonware, no more public distifles
2011-08-01 japanese/ircII: Look like an abandonware, no more public distifles
2011-08-01 japanese/jhd: Look like an abandonware, no more public distifles
2011-08-01 japanese/libjconv: Look like an abandonware, no more public distifles
2011-08-01 japanese/mimekit: Look like an abandonware, no more public distifles
2011-08-01 japanese/nethack32: Look like an abandonware, no more public distifles
2011-08-01 japanese/paledit: Look like an abandonware, no more public distifles
2011-08-01 japanese/plain2: Look like an abandonware, no more public distifles
2011-08-01 japanese/recjis: Look like an abandonware, no more public distifles
2011-08-01 japanese/typist: Look like an abandonware, no more public distifles
2011-08-01 japanese/weblint97: Look like an abandonware, no more public distifles
2011-08-01 japanese/xmsgsaver: Look like an abandonware, no more public distifles
2011-08-01 japanese/xshodo: Look like an abandonware, no more public distifles
2011-08-01 japanese/xvi-euc: No more public distfiles
2011-08-01 japanese/xvi-sjis: No more public distfiles
2011-08-01 japanese/xyagamo: Look like an abandonware, no more public distifles
Notes
Notes:
svn path=/head/; revision=278681
Diffstat (limited to 'games/connect4/files/patch-ab')
-rw-r--r-- | games/connect4/files/patch-ab | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/games/connect4/files/patch-ab b/games/connect4/files/patch-ab deleted file mode 100644 index 07edd473b32d..000000000000 --- a/games/connect4/files/patch-ab +++ /dev/null @@ -1,83 +0,0 @@ ---- c4.c.orig 2010-08-07 20:02:05.000000000 +0200 -+++ c4.c 2010-08-07 20:23:15.000000000 +0200 -@@ -14,7 +14,10 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> -+#include <string.h> - #include <sys/types.h> -+#include <unistd.h> - #include <ctype.h> - #include <pwd.h> - #include <sys/time.h> -@@ -55,7 +58,6 @@ char **envp; - register int winner = DRAW; - int temp; - -- envmesg(envp, "Connect Four"); - do_args(argc, argv); - open_scorefile("a"); - ask_help(); -@@ -219,7 +221,7 @@ ask_turn() - register char *cp; - - printf("Would you like to go first? (yes/no) -> "); -- if (!gets(line)){ -+ if (!fgets(line,256,stdin)){ - plot_finish(); - fprintf(stderr, "Could not read input line.\n"); - goodbye(); -@@ -586,7 +588,7 @@ think_of_fucking_clever_move() - } - } - DP(d, "The best column is %d\n", best_col); -- DP(d, "Returning.\n\n\n", best_col); -+ DP(d, "Returning.\n\n\n"); - - if (best_col == -1){ - print_game_record(CONFUSED); -@@ -620,8 +622,8 @@ ask_help() - } - } - -- printf("Do you need help (n/y)? -> "); -- if (!gets(line)){ -+ printf("Do you need help (y/n)? -> "); -+ if (!fgets(line,256,stdin)){ - fprintf(stderr, "Could not read input line\n"); - goodbye(); - } -@@ -815,32 +817,3 @@ debug_off() - accept_move(turn); - } - --/* -- * Modify the environment to put message in the right place for -- * the w and ps commands to find. Code stolen from MFCF lock -- * program, originally by Ian! -- * -- */ -- --void --envmesg(environ, message) --char **environ; --char *message; --{ -- /* -- * Note that this clobbers the environment, so we have to -- * do it last, after all the getenv and termcap calls. -- */ -- -- char *last, *address; -- while( environ[1] != 0 ) ++environ; -- last = environ[0] + strlen(environ[0]);/* address of '\0' */ -- last = (char *)((int)last&(~03));/* word boundary */ -- *(int *)last = 0; /* clean out last word */ -- address = last +3 -strlen(message); -- address = (char *)((int)address&(~03));/* word boundary */ -- *(int *)(address-4) = 0; /* clean out word below */ -- *(int *)(address-8) = 0; /* clean out word below */ -- strcpy( address, message ); --} -- |