mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Fix segmentation fault under amd64 environment.
- Bump portrevision. PR: ports/162896 Submitted by: Yasuhito FUTATSUKI <futatuki@bsdclub.org>
This commit is contained in:
parent
7b0459ee7c
commit
fdff9a1118
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288030
@ -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%/ \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user