ports/106995: [MAINTAINER] astro/boinc-setiathome-enhanced : fix build with GCC 4.x

Rene Ladan r.c.ladan at gmail.com
Wed Dec 20 20:20:19 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list