[Bug 241503] graphics/opencv-core doesn't build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 26 14:00:57 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241503

            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 at FreeBSD.org
          Reporter: darcy at druid.net

With warnings as errors it fails to build due to const/non-const difference. 
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/src2/cv2.cpp
      2019-10-26 09:54:00.718930000 -0400
 @@ -886,7 +886,7 @@
      (void)name;
      if(!obj || obj == Py_None)
          return true;
 -    char* str = PyString_AsString(obj);
 +    const char* str = PyString_AsString(obj);
      if(!str)
          return false;
      value = String(str);

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


More information about the freebsd-ports-bugs mailing list