From tkato432@yahoo.com  Thu May 26 15:01:41 2005
Return-Path: <tkato432@yahoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7A4DD16A426
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 26 May 2005 15:01:41 +0000 (GMT)
	(envelope-from tkato432@yahoo.com)
Received: from hfep08.dion.ne.jp (hfep08.dion.ne.jp [203.181.105.74])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E5C7743D88
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 26 May 2005 15:01:35 +0000 (GMT)
	(envelope-from tkato432@yahoo.com)
Received: from localhost ([61.204.125.59]) by hfep08.dion.ne.jp with SMTP
          id <20050526150131130.OYXE@hfep08.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Fri, 27 May 2005 00:01:31 +0900
Message-Id: <20050527000017.5de148fe.tkato432@yahoo.com>
Date: Fri, 27 May 2005 00:00:17 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: graphics/qcomicbook to 0.2.1

>Number:         81510
>Category:       ports
>Synopsis:       Update port: graphics/qcomicbook to 0.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 26 15:10:03 GMT 2005
>Closed-Date:    Fri May 27 21:39:03 GMT 2005
>Last-Modified:  Fri May 27 21:39:03 GMT 2005
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 0.2.1

New file:
files/patch-src-imgarchivesink.cpp
files/patch-src-thumbnail.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/qcomicbook/Makefile graphics/qcomicbook/Makefile
--- /usr/ports/graphics/qcomicbook/Makefile	Sun May 22 19:46:06 2005
+++ graphics/qcomicbook/Makefile	Sun May 22 20:40:21 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	qcomicbook
-PORTVERSION=	0.2.0
+PORTVERSION=	0.2.1
 CATEGORIES=	graphics
 MASTER_SITES=	http://linux.bydg.org/~yogin/
 
@@ -18,21 +18,20 @@
 
 USE_X_PREFIX=	yes
 USE_QT_VER=	3
-
-GNU_CONFIGURE=	yes
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
-CONFIGURE_ARGS+=--with-Qt-dir="${X11BASE}"
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS=	--with-Qt-dir="${QT_PREFIX}"
+
+MAN1=		qcomicbook.1
+
 # Luckily, QT apps on FreeBSD don't compile against
 # pthread by default. That might *gasp* make them work!
 QTCPPFLAGS+=	${PTHREAD_CFLAGS}
 QTCFGLIBS+=	${PTHREAD_LIBS}
 
-MAN1=		qcomicbook.1
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN=		"Configure fails on FreeBSD 4.x"
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e 's|="failure"|=""|g' ${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/graphics/qcomicbook/distinfo graphics/qcomicbook/distinfo
--- /usr/ports/graphics/qcomicbook/distinfo	Fri May 13 02:37:56 2005
+++ graphics/qcomicbook/distinfo	Thu May 19 23:18:20 2005
@@ -1,2 +1,2 @@
-MD5 (qcomicbook-0.2.0.tar.gz) = c7b4e120218cdd5d94c010fe4f98fc59
-SIZE (qcomicbook-0.2.0.tar.gz) = 189285
+MD5 (qcomicbook-0.2.1.tar.gz) = 78cb4ac0433af583dc0254f65caf290d
+SIZE (qcomicbook-0.2.1.tar.gz) = 190757
diff -urN /usr/ports/graphics/qcomicbook/files/patch-src-imgarchivesink.cpp graphics/qcomicbook/files/patch-src-imgarchivesink.cpp
--- /usr/ports/graphics/qcomicbook/files/patch-src-imgarchivesink.cpp	Thu Jan  1 09:00:00 1970
+++ graphics/qcomicbook/files/patch-src-imgarchivesink.cpp	Fri May 20 00:41:22 2005
@@ -0,0 +1,10 @@
+--- src/imgarchivesink.cpp.orig	Mon May 16 00:16:43 2005
++++ src/imgarchivesink.cpp	Fri May 20 00:41:12 2005
+@@ -18,6 +18,7 @@
+ #include <qfileinfo.h>
+ #include <qfile.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ 
diff -urN /usr/ports/graphics/qcomicbook/files/patch-src-thumbnail.cpp graphics/qcomicbook/files/patch-src-thumbnail.cpp
--- /usr/ports/graphics/qcomicbook/files/patch-src-thumbnail.cpp	Thu Jan  1 09:00:00 1970
+++ graphics/qcomicbook/files/patch-src-thumbnail.cpp	Fri May 20 00:52:03 2005
@@ -0,0 +1,10 @@
+--- src/thumbnail.cpp.orig	Sat Apr  2 19:59:03 2005
++++ src/thumbnail.cpp	Fri May 20 00:51:33 2005
+@@ -11,6 +11,7 @@
+  */
+ 
+ #include "thumbnail.h"
++#include <sys/types.h>
+ #include <utime.h>
+ 
+ int Thumbnail::thwidth = 100;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Fri May 27 21:38:53 GMT 2005 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81510 
>Unformatted:
