diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-12-27 03:56:37 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-12-27 03:56:37 +0000 |
commit | 99bc1f553eafddd1a16790a41d93a1148debf8d7 (patch) | |
tree | cb0607fb96e3f64ee2aa05f027bc57bd8ad1d6d0 /astro/boinc-setiathome-enhanced | |
parent | d2447cff6f00660a21d3ef9f3061095377fa1efe (diff) | |
download | ports-99bc1f553eafddd1a16790a41d93a1148debf8d7.tar.gz ports-99bc1f553eafddd1a16790a41d93a1148debf8d7.zip |
Fix compilation with gcc 4.x.
PR: ports/106995
Submitted by: Rene Ladan <r.c.ladan@gmail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=180835
Diffstat (limited to 'astro/boinc-setiathome-enhanced')
-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); + |