From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 2 12:00:40 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59E0716A4DE for ; Tue, 2 Mar 2004 12:00:40 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62BA243D5E for ; Tue, 2 Mar 2004 12:00:39 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i22K0dbv024208 for ; Tue, 2 Mar 2004 12:00:39 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i22K0dZ8024202; Tue, 2 Mar 2004 12:00:39 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 2 Mar 2004 12:00:39 -0800 (PST) Resent-Message-Id: <200403022000.i22K0dZ8024202@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Arjan van Leeuwen" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6325816A4CE for ; Tue, 2 Mar 2004 11:52:52 -0800 (PST) Received: from winston.piwebs.com (217-19-20-186.dsl.cambrium.nl [217.19.20.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 8375843D31 for ; Tue, 2 Mar 2004 11:52:51 -0800 (PST) (envelope-from avleeuwen@piwebs.com) Received: (qmail 18785 invoked from network); 2 Mar 2004 19:52:50 -0000 Received: from vincent.piwebs.com (192.168.0.95) by winston.piwebs.com with SMTP; 2 Mar 2004 19:52:50 -0000 Message-Id: <1078257238.0@vincent.piwebs.com> Date: Tue, 2 Mar 2004 20:53:58 +0100 From: "Arjan van Leeuwen" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.3.3 Subject: ports/63653: Maintainer update: fix graphics/pixieplus on 64-bit systems X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 20:00:40 -0000 >Number: 63653 >Category: ports >Synopsis: Maintainer update: fix graphics/pixieplus on 64-bit systems >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 Mar 02 12:00:39 PST 2004 >Closed-Date: >Last-Modified: >Originator: Arjan van Leeuwen >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD 5.2-CURRENT #0: Mon Mar 1 22:22:48 CET 2004 root@vincent.piwebs.com:/usr/obj/usr/src/sys/AMD760 >Description: - (hopefully) fix support for 64-bit systems Reported by: bento (http://bento.freebsd.org/errorlogs/sparc64-5-latest/pixieplus-0.5.4_2.log) - Handle PTHREAD_LIBS and SIZEify while I'm here. >How-To-Repeat: >Fix: --- pixieplus.diff begins here --- diff -urN /usr/ports/graphics/pixieplus/Makefile pixieplus/Makefile --- /usr/ports/graphics/pixieplus/Makefile Thu Feb 5 01:51:19 2004 +++ pixieplus/Makefile Tue Mar 2 20:49:00 2004 @@ -22,6 +22,13 @@ USE_GMAKE= yes USE_KDELIBS_VER=3 INSTALLS_SHLIB= yes +USE_REINPLACE= yes USE_LIBTOOL= yes -.include +.include + +pre-configure:: + ${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/configure + +.include + diff -urN /usr/ports/graphics/pixieplus/distinfo pixieplus/distinfo --- /usr/ports/graphics/pixieplus/distinfo Wed Apr 16 14:38:16 2003 +++ pixieplus/distinfo Tue Mar 2 20:34:28 2004 @@ -1 +1,2 @@ MD5 (pixieplus-0.5.4.tar.gz) = a6296cdc53b5f1a38cd629f7591fef9e +SIZE (pixieplus-0.5.4.tar.gz) = 2297945 diff -urN /usr/ports/graphics/pixieplus/files/patch-imageheaders.cpp pixieplus/files/patch-imageheaders.cpp --- /usr/ports/graphics/pixieplus/files/patch-imageheaders.cpp Thu Jan 1 01:00:00 1970 +++ pixieplus/files/patch-imageheaders.cpp Tue Mar 2 20:25:45 2004 @@ -0,0 +1,11 @@ +--- app/imageheaders.cpp.orig Fri Jun 13 00:47:07 2003 ++++ app/imageheaders.cpp Fri Jun 13 00:47:49 2003 +@@ -90,7 +90,7 @@ + if(TIFFSetDirectory(t, thumbDir)){ + TIFFGetField(t, TIFFTAG_IMAGELENGTH, &height); + img.create(minWidth, height, 32); +- if(!TIFFReadRGBAImage(t, minWidth, height, (unsigned long*) ++ if(!TIFFReadRGBAImage(t, minWidth, height, (uint32*) + img.bits(), 0)) + img.reset(); + else{ --- pixieplus.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: