From nobody@FreeBSD.org  Tue Aug 23 14:29:26 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 63072106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Aug 2011 14:29:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 5357E8FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Aug 2011 14:29:26 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7NETQsn065047
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Aug 2011 14:29:26 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p7NETPqv065046;
	Tue, 23 Aug 2011 14:29:25 GMT
	(envelope-from nobody)
Message-Id: <201108231429.p7NETPqv065046@red.freebsd.org>
Date: Tue, 23 Aug 2011 14:29:25 GMT
From: Takashi Kato <townwear@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MAINTAINER] japanese/jd: update to 2.8.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 23 14:30:01 UTC 2011
>Closed-Date:    Sat Aug 27 20:28:15 UTC 2011
>Last-Modified:  Sat Aug 27 20:30:10 UTC 2011
>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@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@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:
State-Changed-From-To: open->closed 
State-Changed-By: tota 
State-Changed-When: Sat Aug 27 20:27:50 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160028 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160028: commit references a PR
Date: Sat, 27 Aug 2011 20:25:56 +0000 (UTC)

 tota        2011-08-27 20:25:47 UTC
 
   FreeBSD ports repository
 
   Modified files:
     japanese/jd          Makefile distinfo 
   Added files:
     japanese/jd/files    patch-cache.cpp 
   Log:
   - 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]
   
   Revision  Changes    Path
   1.24      +8 -15     ports/japanese/jd/Makefile
   1.14      +2 -2      ports/japanese/jd/distinfo
   1.1       +23 -0     ports/japanese/jd/files/patch-cache.cpp (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
