#43999: SDL_SetHint not available with all supported SDL/SDL_mixer versions Open Date: 2022-03-01 15:55 Last Update: 2022-03-01 16:26 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43999 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43999 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-03-01 16:26 Updated by: alienvalkyrie Comment: Note: In particular, this affects anyone trying to build Freeciv 3.0.x on Ubuntu 18.04 LTS "Bionic Beaver": While SDL2 packages are available, the build dependencies of the Freeciv source package (apt build-dep freeciv) only include SDL 1.2 packages. --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.1 Component: Client common Severity: 7 Resolution: None --------------------------------------------------------------------- Ticket details: Build failure (in certain environments) introduced in #43549, on S3_0 branch only (since later branches don't support SDL < 2.0.0). SDL_SetHint is apparently only available since SDL 2.0.0, so building with only libsdl-mixer1.2 passes configure, but fails when compiling client/audio_sdl.c. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43999 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43999