ports/mail/evolution/files/patch-CMakeLists.txt
Igor Malyshev ab359c80a5 mail/evolution: update to 3.52.3
This update unbreaks viewing emails.

PR:		284752
Reported by:	fuz
Approved by:	gnome (fluffy)
2025-02-21 00:27:22 +01:00

10 lines
433 B
Text

--- CMakeLists.txt.orig 2024-06-28 10:38:15.000000000 +0300
+++ CMakeLists.txt 2025-02-17 15:50:06.815245000 +0300
@@ -364,6 +364,7 @@
# ******************************
set(CMAKE_REQUIRED_LIBRARIES "-liconv")
+set(CMAKE_REQUIRED_FLAGS "-L/usr/local/lib")
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)