diff options
Diffstat (limited to 'www-client/chromium/chromium-57.0.2987.13.ebuild')
-rw-r--r-- | www-client/chromium/chromium-57.0.2987.13.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/www-client/chromium/chromium-57.0.2987.13.ebuild b/www-client/chromium/chromium-57.0.2987.13.ebuild index 139ec0c30d84..f9ea58616254 100644 --- a/www-client/chromium/chromium-57.0.2987.13.ebuild +++ b/www-client/chromium/chromium-57.0.2987.13.ebuild @@ -155,11 +155,6 @@ For other desktop environments, try one of the following: - x11-themes/tango-icon-theme " -PATCHES=( - "${FILESDIR}/${PN}-system-ffmpeg-r4.patch" - "${FILESDIR}/${PN}-widevine-r1.patch" -) - pre_build_checks() { if [[ ${MERGE_TYPE} != binary ]]; then local -x CPP="$(tc-getCXX) -E" @@ -201,6 +196,13 @@ pkg_setup() { } src_prepare() { + local PATCHES=( + "${FILESDIR}/${PN}-widevine-r1.patch" + "${FILESDIR}/${PN}-FORTIFY_SOURCE.patch" + ) + + use system-ffmpeg && PATCHES+=( "${FILESDIR}/${PN}-system-ffmpeg-r4.patch" ) + default local keeplibs=( |