diff options
author | Sam James <sam@gentoo.org> | 2020-12-26 20:26:47 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-26 20:26:53 +0000 |
commit | 6b92c19d502ad82d828a54c95ebc5bdcf55325a4 (patch) | |
tree | 4d15a4028a74c2c028e67b67cb76c320cc5f2982 /sys-libs/zlib | |
parent | qmake-utils.eclass: Ban qmake-utils_find_pro_file() as well (diff) | |
download | gentoo-6b92c19d502ad82d828a54c95ebc5bdcf55325a4.tar.gz gentoo-6b92c19d502ad82d828a54c95ebc5bdcf55325a4.tar.bz2 gentoo-6b92c19d502ad82d828a54c95ebc5bdcf55325a4.zip |
sys-libs/zlib: add missing || die on Cygwin sed
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/zlib')
-rw-r--r-- | sys-libs/zlib/zlib-1.2.11-r3.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-libs/zlib/zlib-1.2.11-r3.ebuild b/sys-libs/zlib/zlib-1.2.11-r3.ebuild index 691432e4706c..ef5a1d5a37d0 100644 --- a/sys-libs/zlib/zlib-1.2.11-r3.ebuild +++ b/sys-libs/zlib/zlib-1.2.11-r3.ebuild @@ -51,7 +51,7 @@ src_prepare() { case ${CHOST} in *-cygwin*) # do not use _wopen, is a mingw symbol only - sed -i -e '/define WIDECHAR/d' "${S}"/gzguts.h + sed -i -e '/define WIDECHAR/d' "${S}"/gzguts.h || die # zlib1.dll is the mingw name, need cygz.dll # cygz.dll is loaded by toolchain, put into subdir sed -i -e 's|zlib1.dll|win32/cygz.dll|' win32/Makefile.gcc || die |