Hello!<div><br></div><div>thank you! the patch has been integrated to SVN trunk.</div><div><br></div><div>Regards,</div><div>Vadim<br><br><div class="gmail_quote">On Sun, May 8, 2011 at 10:11 PM, Jose Luis Blanco <span dir="ltr">&lt;<a href="mailto:joseluisblancoc@gmail.com">joseluisblancoc@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I confirm this bug and that it&#39;s serious since it prevents other<br>
packages to build in SID with the newest g++ 4.6.<br>
<br>
However, it can be very easily fixed by patching one single line, as<br>
shown in the attached patch (also copied below):<br>
<br>
=============================<br>
diff -w -rupN OpenCV-2.1.0//include/opencv/cxcore.hpp<br>
opencv-2.1.0//include/opencv/cxcore.hpp<br>
--- OpenCV-2.1.0//include/opencv/cxcore.hpp     2010-04-06 03:24:40.000000000 +0200<br>
+++ opencv-2.1.0//include/opencv/cxcore.hpp     2011-05-08 19:56:53.759113108 +0200<br>
@@ -66,6 +66,7 @@ namespace cv {<br>
<br>
 using std::vector;<br>
 using std::string;<br>
+using std::ptrdiff_t;<br>
<br>
 template&lt;typename _Tp&gt; class CV_EXPORTS Size_;<br>
 template&lt;typename _Tp&gt; class CV_EXPORTS Point_;<br>
============================<br>
<br>
Please, could a maintainer patch this package and issue a new rebuild??<br>
<br>
BTW: After fixing this bug OpenCV seems not to completely build due to<br>
a similar bug in the headers of libavcodec, but perhaps they&#39;ve<br>
already patched it too in SID.<br>
<br>
Cheers,<br>
Jose Luis<br>
<br>
--<br>
___________________________________________________________<br>
<br>
Dr. Jose-Luis Blanco-Claraco<br>
Dpt. Ing. Civil, Mat. y Fabric - Phone: +34 951 952435<br>
E.T.S.I. Industriales - Despacho 2.037<br>
Universidad de Malaga - Campus Universitario de Teatinos<br>
29071 Malaga, Spain<br>
<a href="https://sites.google.com/site/jlblancosite/" target="_blank">https://sites.google.com/site/jlblancosite/</a><br>
___________________________________________________________<br>
</blockquote></div><br></div>