git: 25384b04de77 - main - mail/evolution: Update to 3.42.3

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Wed, 19 Jan 2022 20:19:17 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25384b04de77bbffa288aa3c5331c24ca36a7cbe

commit 25384b04de77bbffa288aa3c5331c24ca36a7cbe
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-01-19 19:59:11 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-01-19 20:19:33 +0000

    mail/evolution: Update to 3.42.3
---
 mail/evolution/Makefile                   |  4 ++--
 mail/evolution/distinfo                   |  6 +++---
 mail/evolution/files/patch-CMakeLists.txt | 18 +++++++++++++++++-
 3 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 616977fc6004..ef39d879c1ad 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -1,7 +1,7 @@
 # Created by: Ade Lovett <ade@FreeBSD.org>
 
 PORTNAME=	evolution
-DISTVERSION=	3.42.1
+DISTVERSION=	3.42.3
 CATEGORIES=	mail gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -45,7 +45,7 @@ PORTSCOUT=	limitw:1,even
 USES=		compiler:c11 cpe desktop-file-utils cmake gettext gnome \
 		iconv:wchar_t sqlite libarchive localbase pathfix pkgconfig \
 		tar:xz xorg
-USE_GNOME=	cairo evolutiondataserver3 gnomedesktop3 intltool
+USE_GNOME=	cairo evolutiondataserver3 glib20 gnomedesktop3 intltool
 GNU_CONFIGURE=	yes
 USE_XORG=	x11
 USE_LDCONFIG=	yes
diff --git a/mail/evolution/distinfo b/mail/evolution/distinfo
index 88f83e7bd874..d8c72a4f7735 100644
--- a/mail/evolution/distinfo
+++ b/mail/evolution/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636133293
-SHA256 (gnome/evolution-3.42.1.tar.xz) = 46532ae3a13a6885771ad12234b94141167aec74723a7eed13ddbdddaefaee45
-SIZE (gnome/evolution-3.42.1.tar.xz) = 12274632
+TIMESTAMP = 1642621483
+SHA256 (gnome/evolution-3.42.3.tar.xz) = 44629e6a02288ec100a66fd59413a068b6b9cd624bed3255aa29a166ea26d0b6
+SIZE (gnome/evolution-3.42.3.tar.xz) = 12280864
diff --git a/mail/evolution/files/patch-CMakeLists.txt b/mail/evolution/files/patch-CMakeLists.txt
index d38a5b4f155b..301e7646f47d 100644
--- a/mail/evolution/files/patch-CMakeLists.txt
+++ b/mail/evolution/files/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig	2021-04-23 14:06:10 UTC
+--- CMakeLists.txt.orig	2022-01-19 19:56:07 UTC
 +++ CMakeLists.txt
 @@ -356,6 +356,7 @@ endif(WITH_HELP)
  # ******************************
@@ -8,3 +8,19 @@
  CHECK_C_SOURCE_COMPILES("#include <iconv.h>
  			#include <stdlib.h>
  			int main(void) { iconv_t cd; cd = iconv_open (\"UTF-8\", \"ISO-8859-1\"); return 0; }" HAVE_LIBICONV)
+@@ -709,7 +710,6 @@ endif(WITH_GLADE_CATALOG)
+ # news-to-appdata
+ # ******************************
+ 
+-set(CMAKE_REQUIRED_FLAGS ${GNOME_PLATFORM_CFLAGS})
+ set(CMAKE_REQUIRED_INCLUDES ${GNOME_PLATFORM_INCLUDE_DIRS})
+ set(CMAKE_REQUIRED_LIBRARIES ${GNOME_PLATFORM_LDFLAGS})
+ file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/appdata-releases.txt" _output_filename)
+@@ -724,7 +724,6 @@ unset(_news_filename)
+ unset(_output_filename)
+ unset(CMAKE_REQUIRED_LIBRARIES)
+ unset(CMAKE_REQUIRED_INCLUDES)
+-unset(CMAKE_REQUIRED_FLAGS)
+ 
+ if(NOT "${_news_to_appdata_result}" EQUAL "1")
+ 	message(FATAL_ERROR "Failed to run news-to-appdata")