diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 06:52:13 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 06:52:13 +0000 |
commit | 9f7759b3b1be5a3bc7794010a8ebf9334f017d2f (patch) | |
tree | fa4e093c6694ec0590cbbd9a7b86c1edddc43d72 /media-gfx/rotoscope/files | |
parent | ac35def7deb4a1eecfad26f0eb5907170b2ee5d7 (diff) |
gentoo auto-resync : 15:11:2022 - 06:52:13
Diffstat (limited to 'media-gfx/rotoscope/files')
-rw-r--r-- | media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch | 19 | ||||
-rw-r--r-- | media-gfx/rotoscope/files/rotoscope-0.2-fix_desktop_file.patch | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch b/media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch new file mode 100644 index 000000000000..01a1f96be4ec --- /dev/null +++ b/media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch @@ -0,0 +1,19 @@ +Clang16 does not allow implicit function declarations by default. + +See also: https://wiki.gentoo.org/wiki/Modern_C_porting +Bug: https://bugs.gentoo.org/875764 + +Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> + +--- a/src/main.c ++++ b/src/main.c +@@ -49,6 +49,9 @@ GList* edge_list = NULL; + MouseState mouse_state = IDLE; + Vertex last_click; + ++/* Function prototypes */ ++gboolean redraw_render_area( GtkWidget* widget, GdkEventExpose* event, gpointer user_data ); ++ + /* Functionality and callback functions */ + void clear_edge_list() + { diff --git a/media-gfx/rotoscope/files/rotoscope-0.2-fix_desktop_file.patch b/media-gfx/rotoscope/files/rotoscope-0.2-fix_desktop_file.patch new file mode 100644 index 000000000000..9116f9598780 --- /dev/null +++ b/media-gfx/rotoscope/files/rotoscope-0.2-fix_desktop_file.patch @@ -0,0 +1,19 @@ +This fixes the QA issue of the .desktop file + +Bug: https://bugs.gentoo.org/740024 + +Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> + +--- a/rotoscope.desktop ++++ b/rotoscope.desktop +@@ -2,7 +2,7 @@ + Name=Rotoscope + Comment=Turn photos into cartoons + Exec=rotoscope +-Icon=rotoscope.png +-Terminal=0 ++Icon=rotoscope ++Terminal=false + Type=Application +-Categories=Application;Graphics;2DGraphics;RasterGraphics;GTK; ++Categories=Graphics;2DGraphics;RasterGraphics;GTK; |