From a072a4326514f369135cf40fb28564d4a4360ce0 Mon Sep 17 00:00:00 2001 From: David King Date: Feb 26 2024 11:57:27 +0000 Subject: Fix pointer type incompatibility on i686 --- diff --git a/gnome-calendar-46.beta-fix-pointer-types.patch b/gnome-calendar-46.beta-fix-pointer-types.patch new file mode 100644 index 0000000..e52f625 --- /dev/null +++ b/gnome-calendar-46.beta-fix-pointer-types.patch @@ -0,0 +1,27 @@ +From aa4ab4aef34d4adf8875fe0d43d00dfd47dbb099 Mon Sep 17 00:00:00 2001 +From: David King +Date: Mon, 26 Feb 2024 11:55:29 +0000 +Subject: [PATCH] weather-service: Fix incompatible pointer types + +--- + src/weather/gcal-weather-service.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/weather/gcal-weather-service.c b/src/weather/gcal-weather-service.c +index f4017c9e..e6189326 100644 +--- 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; + + /* +-- +2.43.2 + diff --git a/gnome-calendar.spec b/gnome-calendar.spec index d3653ce..e946f40 100644 --- a/gnome-calendar.spec +++ b/gnome-calendar.spec @@ -16,6 +16,8 @@ Summary: Simple and beautiful calendar application designed to fit GNOME License: GPL-3.0-or-later AND CC0-1.0 URL: https://wiki.gnome.org/Apps/Calendar Source0: https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz +# https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/426 +Patch: gnome-calendar-46.beta-fix-pointer-types.patch BuildRequires: gcc BuildRequires: gettext