summaryrefslogtreecommitdiff
path: root/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-utils.c')
-rw-r--r--x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-utils.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-utils.c b/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-utils.c
new file mode 100644
index 000000000000..01df58e6d070
--- /dev/null
+++ b/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-utils.c
@@ -0,0 +1,25 @@
+--- gnome-flashback/libdesktop/gf-utils.c.orig 2025-04-26 13:51:39 UTC
++++ gnome-flashback/libdesktop/gf-utils.c
+@@ -20,11 +20,14 @@
+
+ #include <gio/gdesktopappinfo.h>
+ #include <gtk/gtk.h>
++#ifdef __linux__
+ #include <systemd/sd-journal.h>
++#endif
+
+ static void
+ child_setup (gpointer user_data)
+ {
++#ifdef __linux__
+ GAppInfo *app_info;
+ const gchar *id;
+ gint stdout_fd;
+@@ -46,6 +49,7 @@ child_setup (gpointer user_data)
+ dup2 (stderr_fd, STDERR_FILENO);
+ close (stderr_fd);
+ }
++#endif
+ }
+
+ static void