diff options
author | TAKATSU Tomonari <tota@FreeBSD.org> | 2011-08-27 20:25:47 +0000 |
---|---|---|
committer | TAKATSU Tomonari <tota@FreeBSD.org> | 2011-08-27 20:25:47 +0000 |
commit | ca9b7eb0b2d4f0326c4e2b324a94a978e57d144e (patch) | |
tree | ba0d49abe10c1442c33d41ced8a05fd78f8774af /japanese/jd | |
parent | 55ed8e980be429d3bca4e4392beac42845dad088 (diff) | |
download | ports-ca9b7eb0b2d4f0326c4e2b324a94a978e57d144e.tar.gz ports-ca9b7eb0b2d4f0326c4e2b324a94a978e57d144e.zip |
Notes
Diffstat (limited to 'japanese/jd')
-rw-r--r-- | japanese/jd/Makefile | 23 | ||||
-rw-r--r-- | japanese/jd/distinfo | 4 | ||||
-rw-r--r-- | japanese/jd/files/patch-cache.cpp | 23 |
3 files changed, 33 insertions, 17 deletions
diff --git a/japanese/jd/Makefile b/japanese/jd/Makefile index 6435a17e1877..6288791fc4c9 100644 --- a/japanese/jd/Makefile +++ b/japanese/jd/Makefile @@ -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 diff --git a/japanese/jd/distinfo b/japanese/jd/distinfo index 2b1ce6871f5d..e8bafba4d345 100644 --- a/japanese/jd/distinfo +++ b/japanese/jd/distinfo @@ -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 diff --git a/japanese/jd/files/patch-cache.cpp b/japanese/jd/files/patch-cache.cpp new file mode 100644 index 000000000000..94e0a6ec9292 --- /dev/null +++ b/japanese/jd/files/patch-cache.cpp @@ -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;
\ No newline at end of file |