[Bug 283866] games/vcmi: Fails to build with sdl2_ttf 2.24.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Jan 2025 15:41:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283866

            Bug ID: 283866
           Summary: games/vcmi: Fails to build with sdl2_ttf 2.24.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
            Blocks: 283865
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

In file included from
/wrkdirs/usr/ports/games/vcmi/work/vcmi-1.5.7/client/renderSDL/CTrueTypeFont.cpp:22:
/usr/local/include/SDL2/SDL_ttf.h:165:16: error: type alias 'TTF_Font' cannot
be referenced with a struct specifier
  165 | typedef struct TTF_Font TTF_Font;
      |                ^
/wrkdirs/usr/ports/games/vcmi/work/vcmi-1.5.7/client/renderSDL/CTrueTypeFont.h:20:7:
note: declared here
   20 | using TTF_Font = struct _TTF_Font;
      |       ^
1 error generated.

Using Poudriere, 14.2-RELEASE (amd64)


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283865
[Bug 283865] graphics/sdl2_ttf: Update to 2.24.0
-- 
You are receiving this mail because:
You are the assignee for the bug.