summaryrefslogtreecommitdiff
path: root/gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch')
-rw-r--r--gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch b/gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch
new file mode 100644
index 000000000000..1a3411d335fa
--- /dev/null
+++ b/gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/926638
+https://gitlab.gnome.org/GNOME/gnome-calendar/-/commit/2c33d98d82386b0d5e9057c8ba532efc6e202818
+
+From 2c33d98d82386b0d5e9057c8ba532efc6e202818 Mon Sep 17 00:00:00 2001
+From: David King <amigadave@amigadave.com>
+Date: Mon, 26 Feb 2024 11:55:29 +0000
+Subject: [PATCH] weather-service: Fix incompatible pointer types
+
+--- a/src/weather/gcal-weather-service.c
++++ b/src/weather/gcal-weather-service.c
+@@ -486,8 +486,8 @@ preprocess_gweather_reports (GcalWeatherService *self,
+ GSList *iter = NULL; /* unowned */
+ GDate cur_gdate;
+ glong first_tomorrow_dtime = -1;
+- glong today_unix;
+- glong unix_now;
++ gint64 today_unix;
++ gint64 unix_now;
+ guint i;
+
+ /*
+--
+GitLab