From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1455894-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 654F6158021 for <garchives@archives.gentoo.org>; Sat, 12 Nov 2022 11:33:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 401E7E09BB; Sat, 12 Nov 2022 11:33:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 221BFE09BB for <gentoo-commits@lists.gentoo.org>; Sat, 12 Nov 2022 11:33:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED912340F5C for <gentoo-commits@lists.gentoo.org>; Sat, 12 Nov 2022 11:33:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F6D473C for <gentoo-commits@lists.gentoo.org>; Sat, 12 Nov 2022 11:33:23 +0000 (UTC) From: "Ionen Wolkens" <ionen@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" <ionen@gentoo.org> Message-ID: <1668251758.43b8db18088b9ecf0d5b9c797dbcc113fabd9c47.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/wine-staging/, app-emulation/wine-staging/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/wine-staging/files/wine-staging-7.21-crossflags.patch app-emulation/wine-staging/wine-staging-9999.ebuild X-VCS-Directories: app-emulation/wine-staging/files/ app-emulation/wine-staging/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 43b8db18088b9ecf0d5b9c797dbcc113fabd9c47 X-VCS-Branch: master Date: Sat, 12 Nov 2022 11:33:23 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 62100d9e-8f28-4059-b3bc-ff2b429f98f2 X-Archives-Hash: 2db5df88f7771d15044f05434579293e commit: 43b8db18088b9ecf0d5b9c797dbcc113fabd9c47 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sat Nov 12 09:18:46 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat Nov 12 11:15:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b8db18 app-emulation/wine-staging: sync live with vanilla In preparation, wine-staging-7.21 has not been tagged yet. Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> .../files/wine-staging-7.21-crossflags.patch | 29 ++++++++++++++++++++++ .../wine-staging/wine-staging-9999.ebuild | 26 +++++++++++-------- 2 files changed, 45 insertions(+), 10 deletions(-) diff --git a/app-emulation/wine-staging/files/wine-staging-7.21-crossflags.patch b/app-emulation/wine-staging/files/wine-staging-7.21-crossflags.patch new file mode 100644 index 000000000000..bdf5aeefb5bf --- /dev/null +++ b/app-emulation/wine-staging/files/wine-staging-7.21-crossflags.patch @@ -0,0 +1,29 @@ +Restore CROSSLDFLAGS and ensure tested flags are saved in +{arch}_*FLAGS (e.g. -fno-strict-aliasing) + +quickfix, odds are this will be revamped upstream +--- a/configure.ac ++++ b/configure.ac +@@ -919,9 +919,9 @@ + saved_CC=$CC + saved_CFLAGS=$CFLAGS ++ saved_LDFLAGS=$LDFLAGS + + CFLAGS=${CROSSCFLAGS:-"-g -O2"} ++ LDFLAGS=${CROSSLDFLAGS:-} + AS_VAR_COPY([CC],[${wine_arch}_CC]) +- AS_VAR_COPY([${wine_arch}_CFLAGS],[CFLAGS]) +- AS_VAR_COPY([${wine_arch}_LDFLAGS],[LDFLAGS]) + AS_VAR_SET([${wine_arch}_EXTRACFLAGS],["-D__WINE_PE_BUILD -Wall"]) + +@@ -1052,6 +1052,10 @@ + AS_VAR_APPEND([${wine_arch}_LDFLAGS],[" -Wl,--build-id"])]) + ++ AS_VAR_COPY([${wine_arch}_CFLAGS],[CFLAGS]) ++ AS_VAR_COPY([${wine_arch}_LDFLAGS],[LDFLAGS]) ++ + CC=$saved_CC + CFLAGS=$saved_CFLAGS ++ LDFLAGS=$saved_LDFLAGS + done + diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild index 9ac0bc6e5297..a2cb290f769f 100644 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild @@ -30,10 +30,10 @@ SLOT="${PV}" IUSE=" +X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2 - +gstreamer kerberos ldap +mingw +mono netapi nls odbc openal - opencl +opengl osmesa pcap perl pulseaudio samba scanner +sdl - selinux +ssl +truetype udev udisks +unwind usb v4l +vulkan - +xcomposite xinerama" + +gstreamer kerberos ldap +mingw +mono netapi nls odbc opencl + +opengl osmesa pcap perl pulseaudio samba scanner +sdl selinux + +ssl +truetype udev udisks +unwind usb v4l +vulkan +xcomposite + xinerama" REQUIRED_USE=" X? ( truetype ) crossdev-mingw? ( mingw )" # bug #551124 for truetype @@ -84,7 +84,6 @@ WINE_COMMON_DEPEND=" media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] ) ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) - openal? ( media-libs/openal[${MULTILIB_USEDEP}] ) opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] ) pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) @@ -118,7 +117,9 @@ BDEPEND=" sys-devel/bison sys-devel/flex virtual/pkgconfig - mingw? ( !crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] ) ) + mingw? ( !crossdev-mingw? ( + >=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}] + ) ) nls? ( sys-devel/gettext )" IDEPEND="app-eselect/eselect-wine" @@ -127,6 +128,7 @@ QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext PATCHES=( "${FILESDIR}"/${PN}-7.17-noexecstack.patch "${FILESDIR}"/${PN}-7.20-unwind.patch + "${FILESDIR}"/${PN}-7.21-crossflags.patch ) pkg_pretend() { @@ -223,7 +225,6 @@ src_configure() { $(use_with mingw) $(use_with netapi) $(use_with nls gettext) - $(use_with openal) $(use_with opencl) $(use_with opengl) $(use_with osmesa) @@ -259,8 +260,9 @@ src_configure() { mkdir ../build${bits} || die cd ../build${bits} || die - # CROSSCC_amd64/x86 are unused by Wine, but recognized here for users + pe_arch=i386 if (( bits == 64 )); then + pe_arch=x86_64 : "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}" conf+=( --enable-win64 ) elif use amd64; then @@ -273,8 +275,12 @@ src_configure() { fi : "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" - # use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu) if use mingw; then + # CROSSCC is no longer recognized by Wine, but still use for now + # (future handling for CROSS* variables is subject to changes) + conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" ) + + # use *FLAGS for mingw, but strip unsupported : "${CROSSCFLAGS:=$( filter-flags '-fstack-clash-protection' #758914 filter-flags '-fstack-protector*' #870136 @@ -283,7 +289,7 @@ src_configure() { : "${CROSSLDFLAGS:=$( filter-flags '-fuse-ld=*' CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" - export CROSS{CC,{C,LD}FLAGS} + export CROSS{C,LD}FLAGS fi ECONF_SOURCE=${S} econf "${conf[@]}"