diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-12-26 05:32:53 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-12-26 05:32:53 +0000 |
commit | fdff9a1118b9cb06102547051226272897ebc357 (patch) | |
tree | 5138f9e78694caeefa7fa465726e598f7c3fd55a /games/yamsweeper | |
parent | 7b0459ee7c3f136ae3255ea7a83004e99abf08b7 (diff) |
Notes
Diffstat (limited to 'games/yamsweeper')
-rw-r--r-- | games/yamsweeper/Makefile | 2 | ||||
-rw-r--r-- | games/yamsweeper/files/patch-aa | 30 |
2 files changed, 11 insertions, 21 deletions
diff --git a/games/yamsweeper/Makefile b/games/yamsweeper/Makefile index 33f9a8306052..b16f57a18db8 100644 --- a/games/yamsweeper/Makefile +++ b/games/yamsweeper/Makefile @@ -7,7 +7,7 @@ PORTNAME= yamsweeper PORTVERSION= 1.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://hanzubon.jp/mirrors/Vine/%SUBDIR%/ \ http://ftp.jaist.ac.jp/pub/Linux/Vine/%SUBDIR%/ \ diff --git a/games/yamsweeper/files/patch-aa b/games/yamsweeper/files/patch-aa index 81f80f02c140..7f7a50e9843b 100644 --- a/games/yamsweeper/files/patch-aa +++ b/games/yamsweeper/files/patch-aa @@ -1,20 +1,10 @@ -diff -arcN ../yamsweeper-1.9.org/main.c ./main.c -*** ../yamsweeper-1.9.org/main.c Thu Nov 3 09:20:41 1994 ---- ./main.c Sat Sep 21 09:50:53 1996 -*************** -*** 118,124 **** - #endif - { - #if LOG_USER -! char* user = getenv(appData.identifier); - time_t tt = time(NULL); - char* ct = ctime(&tt); - FILE* fp = fopen(LOGFILE, "a"); ---- 118,124 ---- - #endif - { - #if LOG_USER -! char* user = (char *)getenv(appData.identifier); - time_t tt = time(NULL); - char* ct = ctime(&tt); - FILE* fp = fopen(LOGFILE, "a"); +--- main.c.orig 1994-11-03 09:20:41.000000000 +0900 ++++ main.c 2011-11-26 23:01:07.000000000 +0900 +@@ -23,6 +23,7 @@ + #include <X11/cursorfont.h> + #include <stdio.h> + #include <signal.h> ++#include <stdlib.h> + #ifndef sun + #include <time.h> + #endif |