summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-11-19 11:47:32 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-11-19 11:49:57 +0100
commit3ab134be298c122ab86b0c743e47d151c48185f8 (patch)
treee69f34e3767c83317a3857adde4a90e13a396b70 /media-libs/freetype
parentapp-admin/restart-services: added new version 0.14.2 (diff)
downloadgentoo-3ab134be298c122ab86b0c743e47d151c48185f8.tar.gz
gentoo-3ab134be298c122ab86b0c743e47d151c48185f8.tar.bz2
gentoo-3ab134be298c122ab86b0c743e47d151c48185f8.zip
media-libs/freetype: Replaced failing patch with sed statement.
Closes: https://bugs.gentoo.org/658492 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/freetype-9999.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/media-libs/freetype/freetype-9999.ebuild b/media-libs/freetype/freetype-9999.ebuild
index 62dcbc706372..e9f895c9ce0b 100644
--- a/media-libs/freetype/freetype-9999.ebuild
+++ b/media-libs/freetype/freetype-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -42,9 +42,6 @@ DEPEND="${RDEPEND}
PDEPEND="infinality? ( media-libs/fontconfig-infinality )"
PATCHES=(
- # This is the same as the 01 patch from infinality
- "${FILESDIR}"/${PN}-2.7-enable-valid.patch
-
"${FILESDIR}"/${PN}-2.4.11-sizeof-types.patch # 459966
)
@@ -97,6 +94,9 @@ src_prepare() {
default
+ # This is the same as the 01 patch from infinality
+ sed '/AUX_MODULES += \(gx\|ot\)valid/s@^# @@' -i modules.cfg || die
+
enable_option() {
sed -i -e "/#define $1/ { s:/\* ::; s: \*/:: }" \
include/${PN}/config/ftoption.h \
@@ -150,7 +150,7 @@ src_prepare() {
# we need non-/bin/sh to run configure
if [[ -n ${CONFIG_SHELL} ]] ; then
- sed -i -e "1s:^#![[:space:]]*/bin/sh:#!$CONFIG_SHELL:" \
+ sed -i -e "1s:^#![[:space:]]*/bin/sh:#!${CONFIG_SHELL}:" \
"${S}"/builds/unix/configure || die
fi