summaryrefslogtreecommitdiff
path: root/x11-plugins/gkrellshoot/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-05 03:04:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-05 03:04:53 +0000
commit94393d04ccce851b0084c650c99a2eca52f9d3bb (patch)
tree1da77141f18141b486ecd360d46c5988962c7653 /x11-plugins/gkrellshoot/files
parentc4d92ab721dfc646b4a58429d965e9446294ce26 (diff)
gentoo auto-resync : 05:12:2022 - 03:04:53
Diffstat (limited to 'x11-plugins/gkrellshoot/files')
-rw-r--r--x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch
new file mode 100644
index 000000000000..fae0a519ba05
--- /dev/null
+++ b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch
@@ -0,0 +1,25 @@
+By default clang16 will not allow implicit integer declarations in function parameters.
+
+Bug: https://bugs.gentoo.org/874891
+
+Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
+---
+ gkrellshoot.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gkrellshoot.c b/gkrellshoot.c
+index 114a85e..0d74d1d 100755
+--- a/gkrellshoot.c
++++ b/gkrellshoot.c
+@@ -436,7 +436,7 @@ double star_screenx[NUM_STARS];
+ double star_screeny[NUM_STARS];
+
+ static void
+-draw_starfield ( chart_index )
++draw_starfield ( size_t chart_index )
+ {
+ gint i;
+ guchar b;
+--
+2.38.1
+