From: Andreas Sturmlechner Date: Wed, 7 Mar 2018 11:25:26 +0000 (+0100) Subject: app-office/libreoffice: Disable running kf5-config X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bbd141f5e863c63ea0d432eea62f8e8d334fc64c;p=gentoo.git 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 --- 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