1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 2.8.5

PR:		ports/171100
Submitted by:	Takashi Kato <townwear@gmail.com> (maintainer)
This commit is contained in:
Michael Scheidell 2012-08-28 11:54:03 +00:00
parent f481cfe99b
commit a71e97b63e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303274
3 changed files with 5 additions and 29 deletions

View File

@ -6,12 +6,11 @@
#
PORTNAME= jd
PORTVERSION= 2.8.2
PORTREVISION= 1
PORTVERSION= 2.8.5
CATEGORIES= japanese www
MASTER_SITES= SFJP
MASTER_SITE_SUBDIR= jd4linux/52863
DISTNAME= ${PORTNAME}-${PORTVERSION}-110808
MASTER_SITE_SUBDIR= jd4linux/56721
DISTNAME= ${PORTNAME}-${PORTVERSION}-120826
EXTRACT_SUFX= .tgz
MAINTAINER= townwear@gmail.com

View File

@ -1,2 +1,2 @@
SHA256 (jd-2.8.2-110808.tgz) = b7187d5993da8f851f951a3d865a1715ffec9e6de7866633a5cf9d0ce7236c8e
SIZE (jd-2.8.2-110808.tgz) = 782129
SHA256 (jd-2.8.5-120826.tgz) = 494a190ae64c222cd7080cb121f23043bd231829572cd685258185a9b5dfff32
SIZE (jd-2.8.5-120826.tgz) = 784657

View File

@ -1,23 +0,0 @@
--- src/cache.cpp.orig 2011-07-27 21:29:16.000000000 +0900
+++ src/cache.cpp 2011-08-23 22:52:30.000000000 +0900
@@ -816,14 +816,14 @@
if( stat( to_locale_cstr( path ), &buf_stat ) != 0 ) return false;
if( S_ISREG( buf_stat.st_mode ) ){
- struct timespec ts[2];
+ struct timeval tv[2];
- ts[0].tv_sec = buf_stat.st_atime;
- ts[0].tv_nsec = buf_stat.st_atim.tv_nsec;
- ts[1].tv_sec = mtime;
- ts[1].tv_nsec = 0;
+ tv[0].tv_sec = buf_stat.st_atime;
+ tv[0].tv_usec = buf_stat.st_atimespec.tv_nsec / 1000;
+ tv[1].tv_sec = mtime;
+ tv[1].tv_usec = 0;
- if( ! utimensat( AT_FDCWD, to_locale_cstr( path ), ts, AT_SYMLINK_NOFOLLOW ) ) return true;
+ if( ! lutimes(to_locale_cstr( path ), tv ) ) return true;
}
return false;