git: ed633bad445c - main - textproc/enchant: Fix build with ISPELL option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Jan 2024 23:46:27 UTC
The branch main has been updated by jrm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ed633bad445cb49e524aab1cb11a2cbf17364a5c
commit ed633bad445cb49e524aab1cb11a2cbf17364a5c
Author: Olivier Certner <olce.freebsd@certner.fr>
AuthorDate: 2023-08-25 11:06:31 +0000
Commit: Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-01-18 23:44:50 +0000
textproc/enchant: Fix build with ISPELL option
clang++ 16 defaults to C++17 causing errors with the codebase when the
ISPELL option is turned on. Switching back to C++11 (what upstream did
for 1.6.1) makes it build correctly.
PR: 273649
---
textproc/enchant/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
index 6b87664386c6..daaa569a8735 100644
--- a/textproc/enchant/Makefile
+++ b/textproc/enchant/Makefile
@@ -13,6 +13,7 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake gnome libtool pathfix pkgconfig
USE_GNOME= glib20
+USE_CXXSTD= c++11
CONFIGURE_ARGS= --disable-uspell \
--disable-voikko