From bbd141f5e863c63ea0d432eea62f8e8d334fc64c Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 7 Mar 2018 12:25:26 +0100 Subject: [PATCH] app-office/libreoffice: Disable running kf5-config We don't need it, and it is causing sandbox violations. Closes: https://bugs.gentoo.org/646406 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- app-office/libreoffice/libreoffice-6.0.2.1.ebuild | 5 +++++ app-office/libreoffice/libreoffice-6.0.9999.ebuild | 5 +++++ app-office/libreoffice/libreoffice-9999.ebuild | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/app-office/libreoffice/libreoffice-6.0.2.1.ebuild b/app-office/libreoffice/libreoffice-6.0.2.1.ebuild index 73cd46b4e1a4..b5671c6317c8 100644 --- a/app-office/libreoffice/libreoffice-6.0.2.1.ebuild +++ b/app-office/libreoffice/libreoffice-6.0.2.1.ebuild @@ -312,6 +312,11 @@ src_unpack() { src_prepare() { default + # sandbox violations on many systems, we don't need it. Bug #646406 + sed -i \ + -e "/KF5_CONFIG/s/kf5-config/no/" \ + configure.ac || die "Failed to disable kf5-config" + AT_M4DIR="m4" eautoreconf # hack in the autogen.sh touch autogen.lastrun diff --git a/app-office/libreoffice/libreoffice-6.0.9999.ebuild b/app-office/libreoffice/libreoffice-6.0.9999.ebuild index 73cd46b4e1a4..b5671c6317c8 100644 --- a/app-office/libreoffice/libreoffice-6.0.9999.ebuild +++ b/app-office/libreoffice/libreoffice-6.0.9999.ebuild @@ -312,6 +312,11 @@ src_unpack() { src_prepare() { default + # sandbox violations on many systems, we don't need it. Bug #646406 + sed -i \ + -e "/KF5_CONFIG/s/kf5-config/no/" \ + configure.ac || die "Failed to disable kf5-config" + AT_M4DIR="m4" eautoreconf # hack in the autogen.sh touch autogen.lastrun diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild index eca7b36b89aa..ec4bf5552b68 100644 --- a/app-office/libreoffice/libreoffice-9999.ebuild +++ b/app-office/libreoffice/libreoffice-9999.ebuild @@ -310,6 +310,11 @@ src_unpack() { src_prepare() { default + # sandbox violations on many systems, we don't need it. Bug #646406 + sed -i \ + -e "/KF5_CONFIG/s/kf5-config/no/" \ + configure.ac || die "Failed to disable kf5-config" + AT_M4DIR="m4" eautoreconf # hack in the autogen.sh touch autogen.lastrun -- 2.26.2