summaryrefslogtreecommitdiff
path: root/media-gfx/rotoscope/files
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/rotoscope/files')
-rw-r--r--media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch19
-rw-r--r--media-gfx/rotoscope/files/rotoscope-0.2-fix_desktop_file.patch19
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;