From 849d6b5c1efc0eb6df64c0b8cfb836d38650f136 Mon Sep 17 00:00:00 2001
From: Marek Szuba <marecki@gentoo.org>
Date: Wed, 24 Jan 2024 16:37:49 +0000
Subject: mail-mta/proton-mail-bridge: disable PCH for the GUI

Enabled on Gentoo by default (in cmake.eclass), appears to cause
problems for some users.

Closes: https://bugs.gentoo.org/921938
Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 mail-mta/proton-mail-bridge/proton-mail-bridge-3.6.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'mail-mta')

diff --git a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.6.1.ebuild b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.6.1.ebuild
index d64b250bc9c0..ea41b272ebaf 100644
--- a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.6.1.ebuild
+++ b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -63,6 +63,7 @@ src_configure() {
 			-DBRIDGE_REPO_ROOT="${S}"
 			-DBRIDGE_TAG="NOTAG"
 			-DBRIDGE_VENDOR="Gentoo Linux"
+			-DCMAKE_DISABLE_PRECOMPILE_HEADERS=OFF
 		)
 		BUILD_DIR="${WORKDIR}"/gui_build \
 			CMAKE_USE_DIR="${S}"/internal/frontend/bridge-gui/bridge-gui \
-- 
cgit v1.2.3-65-gdbad