mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-04-19 16:03:32 +02:00
Added experimental Sylpheed 3.8, fixed 3.7 version
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff '--color=auto' -ur sylpheed-3.7.0_orig/libsylph/utils.c sylpheed-3.7.0/libsylph/utils.c
|
||||
--- sylpheed-3.7.0_orig/libsylph/utils.c 2017-11-30 03:34:14.000000000 +0100
|
||||
+++ sylpheed-3.7.0/libsylph/utils.c 2025-09-23 14:17:33.492661137 +0200
|
||||
@@ -4263,7 +4263,7 @@
|
||||
log_print("opening %s - %s\n", file, content_type ? content_type : "");
|
||||
|
||||
argv[1] = file;
|
||||
- execute_async(argv);
|
||||
+ execute_async((gchar *const *) argv);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
@@ -0,0 +1,28 @@
|
||||
From: Ricardo Mones <mones@debian.org>
|
||||
Subject: fix FTBFS with GCC 14 compiler
|
||||
Last-Update: 2024-08-12
|
||||
Bug-Debian: https://bugs.debian.org/1075546
|
||||
Forwarded: https://github.com/sylpheed-mail/sylpheed/issues/41
|
||||
|
||||
diff --git a/libsylph/utils.c b/libsylph/utils.c
|
||||
index aabce066..68ba2827 100644
|
||||
--- a/libsylph/utils.c
|
||||
+++ b/libsylph/utils.c
|
||||
@@ -4254,7 +4254,7 @@ gint execute_open_file(const gchar *file, const gchar *content_type)
|
||||
log_print("opening %s - %s\n", file, content_type ? content_type : "");
|
||||
|
||||
argv[1] = file;
|
||||
- execute_async(argv);
|
||||
+ execute_async((gchar * const*) argv);
|
||||
#else
|
||||
const gchar *argv[3] = {"xdg-open", NULL, NULL};
|
||||
|
||||
@@ -4263,7 +4263,7 @@ gint execute_open_file(const gchar *file, const gchar *content_type)
|
||||
log_print("opening %s - %s\n", file, content_type ? content_type : "");
|
||||
|
||||
argv[1] = file;
|
||||
- execute_async(argv);
|
||||
+ execute_async((gchar * const*) argv);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
Reference in New Issue
Block a user