Date: Wed, 20 Dec 2006 20:11:27 GMT From: Rene Ladan<r.c.ladan@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/106995: [MAINTAINER] astro/boinc-setiathome-enhanced : fix build with GCC 4.x Message-ID: <200612202011.kBKKBRJi024007@www.freebsd.org> Resent-Message-ID: <200612202020.kBKKK8tP040116@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<T>(xml_decode_string(buf.c_str()+start,end-start,enc_string)); ++ b.mem=new std::vector<T>(xml_decode_string<T>(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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612202011.kBKKBRJi024007>