[Bug 294166] print/ft2demos : 2.11.1 compile error

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 Mar 2026 15:29:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294166

            Bug ID: 294166
           Summary: print/ft2demos : 2.11.1 compile error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: satosi.kimura@nifty.ne.jp

Created attachment 269261
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269261&action=edit
patch for this error

1. problem
  On FreeBSD/amd64 13.5, at making ft2demos 2.11.1 lead to error as follows:

../src/ftinspect/rendering/glyphpointnumbers.cpp:70:15: error: cannot
initialize a variable of type 'FT_Short *' (aka 'short *') with an lvalue
of type 'unsigned short *'
   70 |     FT_Short* contours = outline->contours;
      |               ^          ~~~~~~~~~~~~~~~~~
../src/ftinspect/rendering/glyphpointnumbers.cpp:71:11: error: cannot
initialize a variable of type 'char *' with an lvalue of type 'unsigned char *'
   71 |     char* tags = outline->tags;
      |           ^      ~~~~~~~~~~~~~
2 errors generated.

2. patch
  Patch are available to solve this problem.

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