ports/81510: Update port: graphics/qcomicbook to 0.2.1

KATO Tsuguru tkato432 at yahoo.com
Thu May 26 15:10:05 UTC 2005


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 26 15:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list