[Bug 283868] games/trackballs: Fails to build with sdl2_ttf 2.24.0

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

            Bug ID: 283868
           Summary: games/trackballs: 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: martymac@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
            Blocks: 283865
          Assignee: martymac@FreeBSD.org
             Flags: maintainer-feedback?(martymac@FreeBSD.org)

/usr/bin/c++ -DDEFAULT_RESOLUTION=-1 -DHAVE_CONFIG_H
-DLOCALEDIR=\"/usr/local/share/locale\" -DPACKAGE=\"trackballs\"
-DSHARE_DIR=\"/usr/local/share/trackballs\" -DVERSION=\"1.3.4\" -D_REENTRANT
-D_THREAD_SAFE -I/wrkdirs/usr/ports/games/trackballs/work/trackballs-1.3.4/src
-I/usr/local/include/guile/2.2
-I/wrkdirs/usr/ports/games/trackballs/work/.build -I/usr/local/include/SDL2
-I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -pthread
-MD -MT CMakeFiles/trackballs.dir/src/font.cc.o -MF
CMakeFiles/trackballs.dir/src/font.cc.o.d -o
CMakeFiles/trackballs.dir/src/font.cc.o -c
/wrkdirs/usr/ports/games/trackballs/work/trackballs-1.3.4/src/font.cc
In file included from
/wrkdirs/usr/ports/games/trackballs/work/trackballs-1.3.4/src/font.cc:25:
/usr/local/include/SDL2/SDL_ttf.h:165:16: error: typedef 'TTF_Font' cannot be
referenced with a struct specifier
  165 | typedef struct TTF_Font TTF_Font;
      |                ^
/wrkdirs/usr/ports/games/trackballs/work/trackballs-1.3.4/src/glHelp.h:30:26:
note: declared here
   30 | typedef struct _TTF_Font 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.