diff options
author | shaun <shaun@FreeBSD.org> | 2006-12-27 11:56:37 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2006-12-27 11:56:37 +0800 |
commit | d99b5d53e25657a5b202efc04012f0f9d886ec87 (patch) | |
tree | 8c5fcc89448db522ba0d86a150da64e235bf8252 /astro | |
parent | 4b8694d837b89471a6f5ea5815dcba5ac0036950 (diff) | |
download | freebsd-ports-gnome-d99b5d53e25657a5b202efc04012f0f9d886ec87.tar.gz freebsd-ports-gnome-d99b5d53e25657a5b202efc04012f0f9d886ec87.tar.zst freebsd-ports-gnome-d99b5d53e25657a5b202efc04012f0f9d886ec87.zip |
Fix compilation with gcc 4.x.
PR: ports/106995
Submitted by: Rene Ladan <r.c.ladan@gmail.com> (maintainer)
Diffstat (limited to 'astro')
-rw-r--r-- | astro/boinc-setiathome-enhanced/files/patch-db-sqlblob.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/astro/boinc-setiathome-enhanced/files/patch-db-sqlblob.h b/astro/boinc-setiathome-enhanced/files/patch-db-sqlblob.h new file mode 100644 index 000000000000..12a1c244470c --- /dev/null +++ b/astro/boinc-setiathome-enhanced/files/patch-db-sqlblob.h @@ -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); + |