mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
- Update to 2.8.2 [1]
- Move LICENSE section earlier to make portlint happy PR: ports/160028 [1] Submitted by: Takashi Kato <townwear_AT_gmail_DOT_com> (maintainer) [1]
This commit is contained in:
parent
55ed8e980b
commit
ca9b7eb0b2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280593
@ -6,34 +6,32 @@
|
||||
#
|
||||
|
||||
PORTNAME= jd
|
||||
PORTVERSION= 2.8.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.8.2
|
||||
CATEGORIES= japanese www
|
||||
MASTER_SITES= SFJP
|
||||
MASTER_SITE_SUBDIR= jd4linux/51244
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-110312
|
||||
MASTER_SITE_SUBDIR= jd4linux/52863
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-110808
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= townwear@gmail.com
|
||||
COMMENT= A 2ch browser
|
||||
|
||||
BROKEN= does not link
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \
|
||||
gcrypt:${PORTSDIR}/security/libgcrypt \
|
||||
gtkmm:${PORTSDIR}/x11-toolkits/gtkmm24
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
MAKE_JOBS_SAFE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOTOOLS= autoconf automake libtool
|
||||
USE_GNOME= gtk20
|
||||
USE_GNOME= gtk20 libgnomeui
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS+= --with-sessionlib=gnomeui
|
||||
|
||||
OPTIONS= ONIGURUMA "Build with oniguruma regular expressions lib" off \
|
||||
GNOMEUI "Enable LibGnomeUI support" off \
|
||||
PANGOLAYOUT "Use PANGOLayout instead of PangoGlyphString" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -43,11 +41,6 @@ CONFIGURE_ARGS+= --with-oniguruma
|
||||
LIB_DEPENDS+= onig:${PORTSDIR}/devel/oniguruma5
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GNOMEUI)
|
||||
CONFIGURE_ARGS+= --with-sessionlib=gnomeui
|
||||
USE_GNOME+= libgnomeui
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PANGOLAYOUT)
|
||||
CONFIGURE_ARGS+= --with-pangolayout
|
||||
.endif
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (jd-2.8.1-110312.tgz) = bead071676ede95e84fe3c86b772f718b548b30100f9773f4bbdcb99f18e6d1c
|
||||
SIZE (jd-2.8.1-110312.tgz) = 774360
|
||||
SHA256 (jd-2.8.2-110808.tgz) = b7187d5993da8f851f951a3d865a1715ffec9e6de7866633a5cf9d0ce7236c8e
|
||||
SIZE (jd-2.8.2-110808.tgz) = 782129
|
||||
|
23
japanese/jd/files/patch-cache.cpp
Normal file
23
japanese/jd/files/patch-cache.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
--- 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;
|
Loading…
Reference in New Issue
Block a user