Bug 283867 - games/meandmyshadow: Fails to build with sdl2_ttf 2.24.0
Summary: games/meandmyshadow: Fails to build with sdl2_ttf 2.24.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks: 283865
  Show dependency treegraph
 
Reported: 2025-01-05 15:43 UTC by Daniel Engberg
Modified: 2025-01-07 19:02 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2025-01-05 15:43:09 UTC
In file included from /wrkdirs/usr/ports/games/meandmyshadow/work/meandmyshadow-0.5a/src/Addons.cpp:38:
/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/meandmyshadow/work/meandmyshadow-0.5a/src/Render.h:11:26: note: declared here
   11 | typedef struct _TTF_Font TTF_Font;
      |                          ^
1 error generated.

Using Poudriere, 14.2-RELEASE (amd64)
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-01-07 19:02:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b1f3d6af7f27f428b7cf4c14a022c8b71a18e6c

commit 1b1f3d6af7f27f428b7cf4c14a022c8b71a18e6c
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2025-01-07 19:00:10 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2025-01-07 19:01:26 +0000

    games/meandmyshadow: Fix compatibility with sdl2_ttf 2.24.0

    PR:             283867
    Reported by:    diizzy

 games/meandmyshadow/files/patch-src_Render.h (new) | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)