Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2019 14:00:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241503] graphics/opencv-core doesn't build
Message-ID:  <bug-241503-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241503

            Bug ID: 241503
           Summary: graphics/opencv-core doesn't build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: darcy@druid.net

With warnings as errors it fails to build due to const/non-const difference=
.=20
Needs this patch:


 --- /tmp/cv2.cpp        2019-10-26 09:53:41.521527000 -0400
 +++
/usr/obj/usr/ports/graphics/opencv-core/work/opencv-3.4.1/modules/python/sr=
c2/cv2.cpp
      2019-10-26 09:54:00.718930000 -0400
 @@ -886,7 +886,7 @@
      (void)name;
      if(!obj || obj =3D=3D Py_None)
          return true;
 -    char* str =3D PyString_AsString(obj);
 +    const char* str =3D PyString_AsString(obj);
      if(!str)
          return false;
      value =3D String(str);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241503-7788>