From 7128c9546c02dbfa25f40a686c4fb489987c4f6a Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 16 May 2025 23:49:04 +0200 Subject: [PATCH] evolution-ews: fix patch compiler errors /build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:211:13: error: 'true' undeclared (first use in this function) 211 | if (true) { | ^~~~ /build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:15:1: note: 'true' is defined in header ''; this is probably fixable by adding '#include ' 14 | #include "e-ews-common-utils.h" +++ |+#include 15 | /build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:211:13: note: each undeclared identifier is reported only once for each function it appears in 211 | if (true) { | ^~~~ --- pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch b/pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch index 2032686395fb..e2babb6a3209 100644 --- a/pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch +++ b/pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch @@ -7,7 +7,7 @@ index 32817df..da65217 100644 /* cannot save, when evolution is not installed */ - if (!e_ews_common_utils_gsettings_schema_exists ("org.gnome.evolution.mail")) -+ if (!true) ++ if (!TRUE) return FALSE; if (!old_categories || !new_categories) @@ -40,7 +40,7 @@ index 7374c36..7da2023 100644 /* cannot save, when evolution is not installed */ - if (!e_ews_common_utils_gsettings_schema_exists ("org.gnome.evolution.mail")) -+ if (!true) ++ if (!TRUE) return FALSE; if (!old_categories || !new_categories) @@ -73,7 +73,7 @@ index cec5417..2e744a0 100644 ICalTimezone *zone = NULL; - if (e_ews_common_utils_gsettings_schema_exists ("org.gnome.evolution.calendar")) { -+ if (true) { ++ if (TRUE) { GSettings *settings; - settings = g_settings_new ("org.gnome.evolution.calendar"); @@ -101,7 +101,7 @@ index 3458c10..7d21784 100644 gchar *location = NULL; - if (e_ews_common_utils_gsettings_schema_exists ("org.gnome.evolution.calendar")) { -+ if (true) { ++ if (TRUE) { GSettings *settings; - settings = g_settings_new ("org.gnome.evolution.calendar");