summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-12-05 02:37:15 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-12-05 03:18:18 -0500
commit49a51e9b4d615263c31eb346eaeba488fbd0c7f3 (patch)
treed43443659261c534dca160add66253c01c0eafc2 /games-arcade/opensonic/files
parentwww-apps/postfixadmin: bump to 3.3.12 (diff)
downloadgentoo-49a51e9b4d615263c31eb346eaeba488fbd0c7f3.tar.gz
gentoo-49a51e9b4d615263c31eb346eaeba488fbd0c7f3.tar.bz2
gentoo-49a51e9b4d615263c31eb346eaeba488fbd0c7f3.zip
games-arcade/opensonic: EAPI7->8, fix src_uri and build w/ clang16
Closes: https://bugs.gentoo.org/873181 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade/opensonic/files')
-rw-r--r--games-arcade/opensonic/files/opensonic-0.1.4-clang16.patch26
1 files changed, 26 insertions, 0 deletions
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 */
+