aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rw-r--r--astro/boinc-setiathome-enhanced/files/patch-db-sqlblob.h12
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);
+