Diff wine-vanilla-7.0.2 with a wine-vanilla-8.0.1

/usr/portage/app-emulation/wine-vanilla/wine-vanilla-8.0.1.ebuild 2023-10-09 14:52:28.740368331 +0300
7 7
inherit autotools flag-o-matic multilib multilib-build
8 8
inherit prefix toolchain-funcs wrapper
9 9

  
10
WINE_GECKO=2.47.2
11
WINE_MONO=7.0.0
10
WINE_GECKO=2.47.3
11
WINE_MONO=7.4.0
12 12

  
13 13
if [[ ${PV} == *9999 ]]; then
14 14
	inherit git-r3
......
25 25
	https://www.winehq.org/
26 26
	https://gitlab.winehq.org/wine/wine/"
27 27

  
28
LICENSE="LGPL-2.1+ BSD-2 IJG MIT ZLIB gsm libpng2 libtiff"
28
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
29 29
SLOT="${PV}"
30 30
IUSE="
31 31
	+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
32 32
	llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
33
	+gstreamer kerberos ldap +mingw +mono netapi nls odbc openal
34
	opencl +opengl osmesa pcap perl pulseaudio samba scanner +sdl
35
	selinux +ssl +truetype udev udisks +unwind usb v4l +vkd3d +vulkan
36
	+xcomposite xinerama"
33
	+gstreamer kerberos +mingw +mono netapi nls odbc opencl +opengl
34
	osmesa pcap perl pulseaudio samba scanner +sdl selinux +ssl
35
	+truetype udev udisks +unwind usb v4l +vulkan +xcomposite xinerama"
37 36
REQUIRED_USE="
38 37
	X? ( truetype )
39 38
	crossdev-mingw? ( mingw )" # bug #551124 for truetype
......
83 82
		media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
84 83
		media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
85 84
	)
86
	ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
87
	openal? ( media-libs/openal[${MULTILIB_USEDEP}] )
88 85
	opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
89 86
	pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
90 87
	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
......
94 91
		llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
95 92
		!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
96 93
	)
97
	usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )
98
	vkd3d? ( >=app-emulation/vkd3d-1.2[${MULTILIB_USEDEP}] )"
94
	usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )"
99 95
RDEPEND="
100 96
	${WINE_COMMON_DEPEND}
101 97
	app-emulation/wine-desktop-common
......
125 121
	sys-devel/bison
126 122
	sys-devel/flex
127 123
	virtual/pkgconfig
128
	mingw? ( !crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] ) )
124
	mingw? ( !crossdev-mingw? (
125
		>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
126
	) )
129 127
	nls? ( sys-devel/gettext )"
130 128
IDEPEND=">=app-eselect/eselect-wine-2"
131 129

  
......
137 135

  
138 136
PATCHES=(
139 137
	"${FILESDIR}"/${PN}-7.0-noexecstack.patch
140
	"${FILESDIR}"/${PN}-7.0-unwind.patch
138
	"${FILESDIR}"/${PN}-7.20-unwind.patch
141 139
)
142 140

  
143 141
pkg_pretend() {
......
216 214
		$(use_with gstreamer)
217 215
		$(use_with kerberos gssapi)
218 216
		$(use_with kerberos krb5)
219
		$(use_with ldap)
220 217
		$(use_with mingw)
221 218
		$(use_with netapi)
222 219
		$(use_with nls gettext)
223
		$(use_with openal)
224 220
		$(use_with opencl)
225 221
		$(use_with opengl)
226 222
		$(use_with osmesa)
......
236 232
		$(use_with unwind)
237 233
		$(use_with usb)
238 234
		$(use_with v4l v4l2)
239
		$(use_with vkd3d)
240 235
		$(use_with vulkan)
241 236
		$(use_with xcomposite)
242 237
		$(use_with xinerama)
......
264 259
		mkdir ../build${bits} || die
265 260
		cd ../build${bits} || die
266 261

  
267
		# CROSSCC_amd64/x86 are unused by Wine, but recognized here for users
262
		pe_arch=i386
268 263
		if (( bits == 64 )); then
264
			pe_arch=x86_64
269 265
			: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
270 266
			conf+=( --enable-win64 )
271 267
		elif use amd64; then
......
278 274
		fi
279 275
		: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
280 276

  
281
		# use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu)
282 277
		if use mingw; then
278
			# CROSSCC is no longer recognized by Wine, but still use for now
279
			# (future handling for CROSS* variables is subject to changes)
280
			conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
281

  
282
			# use *FLAGS for mingw, but strip unsupported
283 283
			: "${CROSSCFLAGS:=$(
284
				# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
285
				append-cflags -fno-strict-aliasing
286

  
284 287
				filter-flags '-fstack-protector*' #870136
285 288
				filter-flags '-mfunction-return=thunk*' #878849
286 289

  
......
294 297
			: "${CROSSLDFLAGS:=$(
295 298
				filter-flags '-fuse-ld=*'
296 299
				CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
297
			export CROSS{CC,{C,LD}FLAGS}
300
			export CROSS{C,LD}FLAGS
298 301
		fi
299 302

  
300 303
		ECONF_SOURCE=${S} econf "${conf[@]}"
Thank you!