+mimetic (0.9.6-2) UNRELEASED; urgency=low
+
+ * Add patch const-correctness.patch to fix an error that is triggered by
+ modern gcc versions; thanks to for the bug report and the patch
+ (closes: #583507).
+ * Convert to source format 3.0 (quilt).
+
+ -- gregor herrmann <gregoa@debian.org> Sat, 29 May 2010 15:31:05 +0200
+
mimetic (0.9.6-1) unstable; urgency=low
* New upstream release.
--- /dev/null
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/583507
+Forwarded: yes
+Author: Berthold Stoeger <bs@bdf-net.com>
+Reviewed-by: gregor herrmann <gregoa@debian.org>
+Last-Update: 2010-05-29
+Description:
+ Due to an error in the header file /usr/include/mimetic/body.h modern gcc versions (>=4.3)
+ refuse to compile perfectly valid programs using an encoder of libmimetic.
+ .
+ A less serious side effect of the bug is suboptimal performance.
+ .
+ The problem is fixed by the following patch which changes the code to the
+ version obviously intended by the author:
+
+--- a/mimetic/body.h
++++ b/mimetic/body.h
+@@ -137,7 +137,7 @@
+ if(codec.codeSizeMultiplier() > 1.0)
+ coded.reserve((size_type)::ceil(size() * codec.codeSizeMultiplier()));
+
+- mimetic::code(begin(), end(), cc, back_inserter(coded) );
++ mimetic::code(begin(), end(), codec, back_inserter(coded) );
+ this->assign(coded);
+ return true;
+ }