ports/160028: [MAINTAINER] japanese/jd: update to 2.8.2
Takashi Kato
townwear at gmail.com
Tue Aug 23 14:30:01 UTC 2011
>Number: 160028
>Category: ports
>Synopsis: [MAINTAINER] japanese/jd: update to 2.8.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 23 14:30:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Takashi Kato
>Release: FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
FreeBSD pwd.dip.jp 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Thu Mar 17 20:48:09 JST 2011 root at pwd.dip.jp:/usr/obj/usr/src/sys/PWD i386
>Description:
update to 2.8.2 from 2.8.1
fix for build successful, and I added patch for 2.8.2.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN jd.orig/Makefile jd/Makefile
--- jd.orig/Makefile 2011-07-27 05:36:28.000000000 +0900
+++ jd/Makefile 2011-08-23 23:03:35.000000000 +0900
@@ -6,19 +6,16 @@
#
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 at gmail.com
COMMENT= A 2ch browser
-BROKEN= does not link
-
LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \
gcrypt:${PORTSDIR}/security/libgcrypt \
gtkmm:${PORTSDIR}/x11-toolkits/gtkmm24
@@ -29,11 +26,12 @@
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 @@
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 -ruN jd.orig/distinfo jd/distinfo
--- jd.orig/distinfo 2011-04-07 22:15:44.000000000 +0900
+++ jd/distinfo 2011-08-09 22:16:58.000000000 +0900
@@ -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 -ruN jd.orig/files/patch-cache.cpp jd/files/patch-cache.cpp
--- jd.orig/files/patch-cache.cpp 1970-01-01 09:00:00.000000000 +0900
+++ jd/files/patch-cache.cpp 2011-08-23 23:07:28.000000000 +0900
@@ -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;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list