From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 20 20:20:18 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDFDE16A407 for ; Wed, 20 Dec 2006 20:20:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4EF843CB6 for ; Wed, 20 Dec 2006 20:20:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBKKK8ie040120 for ; Wed, 20 Dec 2006 20:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBKKK8tP040116; Wed, 20 Dec 2006 20:20:08 GMT (envelope-from gnats) Resent-Date: Wed, 20 Dec 2006 20:20:08 GMT Resent-Message-Id: <200612202020.kBKKK8tP040116@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, Rene Ladan Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F22D16A407 for ; Wed, 20 Dec 2006 20:11:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C64943CA8 for ; Wed, 20 Dec 2006 20:11:27 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBKKBRVo024008 for ; Wed, 20 Dec 2006 20:11:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kBKKBRJi024007; Wed, 20 Dec 2006 20:11:27 GMT (envelope-from nobody) Message-Id: <200612202011.kBKKBRJi024007@www.freebsd.org> Date: Wed, 20 Dec 2006 20:11:27 GMT From: Rene Ladan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/106995: [MAINTAINER] astro/boinc-setiathome-enhanced : fix build with GCC 4.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 20:20:19 -0000 >Number: 106995 >Category: ports >Synopsis: [MAINTAINER] astro/boinc-setiathome-enhanced : fix build with GCC 4.x >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: Wed Dec 20 20:20:08 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rene Ladan >Release: 7.0 CURRENT i386 >Organization: >Environment: xorg ports as of 2006-12-20 >Description: Add a patch file and bump the port revision to fix the build with GCC 4.1.2. Also still builds with GCC 3.4.6. >How-To-Repeat: try to build boinc-setiathome-enhanced 5.13 with GCC 4.1.2. It will fail. >Fix: Patch attached with submission follows: diff -ruN /usr/ports/astro/boinc-setiathome-enhanced/Makefile boinc-setiathome-enhanced/Makefile --- /usr/ports/astro/boinc-setiathome-enhanced/Makefile Wed Dec 20 21:04:19 2006 +++ boinc-setiathome-enhanced/Makefile Wed Dec 20 21:02:07 2006 @@ -6,6 +6,7 @@ PORTNAME= boinc-setiathome-enhanced PORTVERSION= 5.13 +PORTREVISION= 1 CATEGORIES= astro MASTER_SITES= http://home.tiscali.nl/rladan/distfiles/ diff -ruN /usr/ports/astro/boinc-setiathome-enhanced/files/patch-db-sqlblob.h boinc-setiathome-enhanced/files/patch-db-sqlblob.h --- /usr/ports/astro/boinc-setiathome-enhanced/files/patch-db-sqlblob.h Thu Jan 1 01:00:00 1970 +++ boinc-setiathome-enhanced/files/patch-db-sqlblob.h Wed Dec 20 21:00:42 2006 @@ -0,0 +1,12 @@ +--- db/sqlblob.h Thu Dec 1 01:01:01 2005 ++++ db/sqlblob.h Thu Dec 14 23:26:29 2006 +@@ -75,7 +75,7 @@ + fflush(stderr); + #endif + } +- b.mem=new std::vector(xml_decode_string(buf.c_str()+start,end-start,enc_string)); ++ b.mem=new std::vector(xml_decode_string(buf.c_str()+start,end-start,enc_string)); + #ifdef DEBUG_ALLOCATIONS + fprintf(stderr,"sqlblob: allocated a vector at 0x%p\n",b.mem); + fflush(stderr); + >Release-Note: >Audit-Trail: >Unformatted: