diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-11 15:35:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-11 15:35:17 +0100 |
commit | 75949673f38270397841d9c2322dbb774ac41554 (patch) | |
tree | efeb01f94fd2a5bf01d3c892bd0c0d5a32b63770 /app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild | |
parent | 7e2b5bc2c2e2e045de6095d46c24ee857453adf2 (diff) |
gentoo auto-resync : 11:08:2023 - 15:35:17
Diffstat (limited to 'app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild')
-rw-r--r-- | app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild b/app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild index 28ee8cb167cc..9573a0a88c0b 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild @@ -173,6 +173,18 @@ src_prepare() { default + if tc-is-clang; then + if use mingw; then + # -mabi=ms was ignored by <clang:16 then turned error in :17 + # and it still gets used in install phase despite USE=mingw, + # drop as a quick fix for now which hopefully should be safe + sed -i '/MSVCRTFLAGS=/s/-mabi=ms//' configure.ac || die + else + # ./configure will abort looking for -mabi=ms, so do it early + die "building ${PN} with clang requires USE=mingw to be enabled" + fi + fi + # ensure .desktop calls this variant + slot sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die |