From 62c7d8b72b6d2e023e9e14c55be3feb2bc9d3d44 Mon Sep 17 00:00:00 2001 From: Fotios Valasiadis Date: Sun, 23 Jul 2023 14:45:59 +0300 Subject: [PATCH] wine: update to 8.13. also includes a patch to fix compatibility issues with musl. --- srcpkgs/wine/patches/musl-ipx.patch | 13 +++++++++++++ srcpkgs/wine/template | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/wine/patches/musl-ipx.patch diff --git a/srcpkgs/wine/patches/musl-ipx.patch b/srcpkgs/wine/patches/musl-ipx.patch new file mode 100644 index 0000000000000..3e4e8323d0c57 --- /dev/null +++ b/srcpkgs/wine/patches/musl-ipx.patch @@ -0,0 +1,13 @@ +diff --git a/server/sock.c b/server/sock.c +index 550fe61e477..591876aab33 100644 +--- a/server/sock.c ++++ b/server/sock.c +@@ -1880,7 +1880,7 @@ static int init_socket( struct sock *sock, int family, int type, int protocol ) + + #ifdef SOL_IPX + setsockopt( sockfd, SOL_IPX, IPX_TYPE, &ipx_type, sizeof(ipx_type) ); +-#else ++#elif defined(SO_DEFAULT_HEADERS) + struct ipx val; + /* Should we retrieve val using a getsockopt call and then + * set the modified one? */ diff --git a/srcpkgs/wine/template b/srcpkgs/wine/template index 83c50e54a7cd7..45a709c7b30ad 100644 --- a/srcpkgs/wine/template +++ b/srcpkgs/wine/template @@ -1,6 +1,6 @@ # Template file for 'wine' pkgname=wine -version=8.11 +version=8.13 revision=1 _pkgver=${version/r/-r} create_wrksrc=yes @@ -13,8 +13,8 @@ license="LGPL-2.1-or-later" homepage="http://www.winehq.org/" distfiles="https://dl.winehq.org/wine/source/${version%.*}.x/wine-${_pkgver}.tar.xz https://github.com/wine-staging/wine-staging/archive/v${_pkgver}.tar.gz" -checksum="0b5f2c8085352332590f076410174c486f7773da5727337745b1c1dcfe897fc9 - 3405ef0fa99fb92b39bb7a5480774b837cb929e35e3675b33c1c260eebfcbb85" +checksum="26e5d3a83d25c5418c6c0f5448e443d208763a2643aab4b0f1ad352922a4c275 + 8e6a1ebff2cae6b0815fa5b7fa4fcbec2d96dc8301196518d2cdc716ef3ae8ea" build_options="mingw staging xshm" build_options_default="mingw xshm"