diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-22 13:06:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-22 13:06:25 +0000 |
commit | 5d0c50eb490582cf1277e150ee5bb63a90b85aa6 (patch) | |
tree | 7204c80f526d36b5a4c7c6cd1339971b97636808 /media-gfx/rotoscope/files | |
parent | 13ec12ad28bc2ce6e2902be1d571befcca2b3f60 (diff) |
gentoo auto-resync : 22:11:2022 - 13:06:24
Diffstat (limited to 'media-gfx/rotoscope/files')
-rw-r--r-- | media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch | 21 |
1 files changed, 20 insertions, 1 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 index 01a1f96be4ec..74eb94a0412a 100644 --- a/media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch +++ b/media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch @@ -12,8 +12,27 @@ Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> Vertex last_click; +/* Function prototypes */ -+gboolean redraw_render_area( GtkWidget* widget, GdkEventExpose* event, gpointer user_data ); ++void redraw_render_area( GtkWidget* widget, GdkEventExpose* event, gpointer user_data ); + /* Functionality and callback functions */ void clear_edge_list() { +@@ -165,7 +168,7 @@ void draw_pixbuf_to_drawing_area( GdkPixbuf* src, GtkWidget* dest ) + GDK_RGB_DITHER_NONE, 0, 0 ); + } + +-gboolean redraw_render_area( GtkWidget* widget, GdkEventExpose* event, gpointer user_data ) ++void redraw_render_area( GtkWidget* widget, GdkEventExpose* event, gpointer user_data ) + { + GtkWidget* render_drawing_area = glade_xml_get_widget( xml, "render_drawing_area" ); + draw_pixbuf_to_drawing_area( render_result, render_drawing_area ); +--- a/src/graph.c ++++ b/src/graph.c +@@ -64,6 +64,7 @@ gboolean save_graph_to_file( GList* edges, char* filename ) + } + + fclose( f ); ++ return FALSE; + } + + GList* load_graph_from_file( char* filename ) |