aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2011-08-28 04:25:47 +0800
committertota <tota@FreeBSD.org>2011-08-28 04:25:47 +0800
commit876f7029e48b06fc2ae81edea9143d84e0bf9b60 (patch)
treefbb2a16a8a05f43eb8f0b0b2c060c906022e8ea6 /japanese
parentfdb990f4cb3b562aa6ce7bede82aeb88b93caf0c (diff)
downloadfreebsd-ports-gnome-876f7029e48b06fc2ae81edea9143d84e0bf9b60.tar.gz
freebsd-ports-gnome-876f7029e48b06fc2ae81edea9143d84e0bf9b60.tar.zst
freebsd-ports-gnome-876f7029e48b06fc2ae81edea9143d84e0bf9b60.zip
- 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]
Diffstat (limited to 'japanese')
-rw-r--r--japanese/jd/Makefile23
-rw-r--r--japanese/jd/distinfo4
-rw-r--r--japanese/jd/files/patch-cache.cpp23
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