[Pkg-scicomp-devel] Bug#624950: New entry to Debian bug: libcv-dev: error: 'ptrdiff_t' does not name a type

Vadim Pisarevsky vadim.pisarevsky at gmail.com
Wed May 11 13:10:38 UTC 2011


Hello!

thank you! the patch has been integrated to SVN trunk.

Regards,
Vadim

On Sun, May 8, 2011 at 10:11 PM, Jose Luis Blanco <joseluisblancoc at gmail.com
> wrote:

> I confirm this bug and that it's serious since it prevents other
> packages to build in SID with the newest g++ 4.6.
>
> However, it can be very easily fixed by patching one single line, as
> shown in the attached patch (also copied below):
>
> =============================
> diff -w -rupN OpenCV-2.1.0//include/opencv/cxcore.hpp
> opencv-2.1.0//include/opencv/cxcore.hpp
> --- OpenCV-2.1.0//include/opencv/cxcore.hpp     2010-04-06
> 03:24:40.000000000 +0200
> +++ opencv-2.1.0//include/opencv/cxcore.hpp     2011-05-08
> 19:56:53.759113108 +0200
> @@ -66,6 +66,7 @@ namespace cv {
>
>  using std::vector;
>  using std::string;
> +using std::ptrdiff_t;
>
>  template<typename _Tp> class CV_EXPORTS Size_;
>  template<typename _Tp> class CV_EXPORTS Point_;
> ============================
>
> Please, could a maintainer patch this package and issue a new rebuild??
>
> BTW: After fixing this bug OpenCV seems not to completely build due to
> a similar bug in the headers of libavcodec, but perhaps they've
> already patched it too in SID.
>
> Cheers,
> Jose Luis
>
> --
> ___________________________________________________________
>
> Dr. Jose-Luis Blanco-Claraco
> Dpt. Ing. Civil, Mat. y Fabric - Phone: +34 951 952435
> E.T.S.I. Industriales - Despacho 2.037
> Universidad de Malaga - Campus Universitario de Teatinos
> 29071 Malaga, Spain
> https://sites.google.com/site/jlblancosite/
> ___________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20110511/486e3d63/attachment-0001.htm>


More information about the Pkg-scicomp-devel mailing list