diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 21:06:00 +0000 |
commit | c9c609463fab9bcfb35694627bca1429a21fdbb2 (patch) | |
tree | 024860c3c54aa33cdb6972acd3e2e0b8484f3aa7 /app-misc/gtk-sunlight/files | |
parent | 6dd9db91dd6ce9bbe3197aa82642866e637ba68d (diff) |
gentoo auto-resync : 31:10:2022 - 21:05:59
Diffstat (limited to 'app-misc/gtk-sunlight/files')
-rw-r--r-- | app-misc/gtk-sunlight/files/gtk-sunlight-0.4.2-fix-function-declarations.patch | 32 |
1 files changed, 32 insertions, 0 deletions
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 <pascal.jaeger@leimstift.de> + +--- 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; |