From 49a51e9b4d615263c31eb346eaeba488fbd0c7f3 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Mon, 5 Dec 2022 02:37:15 -0500 Subject: games-arcade/opensonic: EAPI7->8, fix src_uri and build w/ clang16 Closes: https://bugs.gentoo.org/873181 Signed-off-by: Ionen Wolkens --- .../opensonic/files/opensonic-0.1.4-clang16.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 games-arcade/opensonic/files/opensonic-0.1.4-clang16.patch (limited to 'games-arcade/opensonic/files') diff --git a/games-arcade/opensonic/files/opensonic-0.1.4-clang16.patch b/games-arcade/opensonic/files/opensonic-0.1.4-clang16.patch new file mode 100644 index 000000000000..f375d757eb4f --- /dev/null +++ b/games-arcade/opensonic/files/opensonic-0.1.4-clang16.patch @@ -0,0 +1,26 @@ +--- a/src/core/audio.c ++++ b/src/core/audio.c +@@ -385,3 +385,3 @@ + */ +-void audio_init(int nomusic) ++void audio_init() + { +--- a/src/entities/object_decorators/dialog_box.c ++++ b/src/entities/object_decorators/dialog_box.c +@@ -39,3 +39,3 @@ + +-static objectmachine_t* make_decorator(objectmachine_t *decorated_machine, const char *title, const char *message, void (*strategy)()); ++static objectmachine_t* make_decorator(objectmachine_t *decorated_machine, const char *title, const char *message, void (*strategy)(objectdecorator_dialogbox_t*)); + +@@ -60,3 +60,3 @@ + /* private methods */ +-objectmachine_t* make_decorator(objectmachine_t *decorated_machine, const char *title, const char *message, void (*strategy)()) ++objectmachine_t* make_decorator(objectmachine_t *decorated_machine, const char *title, const char *message, void (*strategy)(objectdecorator_dialogbox_t*)) + { +--- a/src/scenes/level.c ++++ b/src/scenes/level.c +@@ -214,3 +214,3 @@ + static void update_dlgbox(); /* dialog boxes */ +-static void render_dlgbox(); /* dialog boxes */ ++static void render_dlgbox(v2d_t camera_position); /* dialog boxes */ + -- cgit v1.2.3-65-gdbad