From c9c609463fab9bcfb35694627bca1429a21fdbb2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 Oct 2022 21:06:00 +0000 Subject: gentoo auto-resync : 31:10:2022 - 21:05:59 --- ...-sunlight-0.4.2-fix-function-declarations.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app-misc/gtk-sunlight/files/gtk-sunlight-0.4.2-fix-function-declarations.patch (limited to 'app-misc/gtk-sunlight/files') diff --git a/app-misc/gtk-sunlight/files/gtk-sunlight-0.4.2-fix-function-declarations.patch b/app-misc/gtk-sunlight/files/gtk-sunlight-0.4.2-fix-function-declarations.patch new file mode 100644 index 000000000000..bdf4e616d486 --- /dev/null +++ b/app-misc/gtk-sunlight/files/gtk-sunlight-0.4.2-fix-function-declarations.patch @@ -0,0 +1,32 @@ +Fix implicit function declarations as they are not supported by clang16 with standard settings. + +Bug: https://bugs.gentoo.org/874717 + +Signed-off-by: Pascal Jäger + +--- a/callbacks.c ++++ b/callbacks.c +@@ -33,6 +33,12 @@ gpointer create_progressbar_window (ChData *data); + gboolean update_progress(gpointer data); + gpointer async_lengthy_func(gpointer data); + ++extern void scale_box_sensitive (ChData *data, gboolean sensitive); ++extern gshort move_earth_true (ChData *data); ++extern void get_and_set_options (ChData *data); ++extern gshort get_map_position (ChData *data); ++extern gboolean is_peters (ChData *data); ++extern void button_sensitive (ChData *data, gboolean sensitive); + /*************************************** + Window Callbacks + ***************************************/ +--- a/sunlight.c ++++ b/sunlight.c +@@ -19,6 +19,8 @@ + + #include "support.h" + ++extern void change_wallpaper (ChData *data); ++ + void initialize_variables (ChData *data){ + data->var.gi_rd1 = 1; + data->var.gi_rd2 = 1; -- cgit v1.2.3