Skip to content

Commit

Permalink
ntsync5: Rebase for wine-staging cd2cce2 (#1293)
Browse files Browse the repository at this point in the history
Rebase ntsync5 patches broken by wine-staging cd2cce28cc
("eventfd_synchronization: Fix compile warnings.").

Also revert the existing hotfix stopgap ecd65dc
("staging_fixes: Revert esync patchset for ntsync5 (#1242)").
  • Loading branch information
kangtastic authored Oct 22, 2024
1 parent b9e04c9 commit f2adc6e
Show file tree
Hide file tree
Showing 6 changed files with 16,645 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ if ( cd "${srcdir}"/"${_stgsrcdir}" && [ "$(git rev-parse HEAD)" = "5117eec7bfbd
_hotfix_stagingreverts+=(5117eec7bfbda434fbe72d19ba75ec23ddccf846)
fi

# Revert changes in esync for ntsync5 because i am lazy
if [ "$_use_staging" = "true" ] && [ "$_use_ntsync" = "true" ] && ( cd "${srcdir}"/"${_stgsrcdir}" && git merge-base --is-ancestor cd2cce28ccd2791d0a7ab02bb02b804551ee4095 HEAD ); then
warning "Revert esync patchset to fix ntsync5"
_hotfix_stagingreverts+=(cd2cce28ccd2791d0a7ab02bb02b804551ee4095)
fi
# 7b233f3032e4850b0f387faef4aae5ed6d5175de breaks at least Among Us - Revert - https://github.com/Frogging-Family/wine-tkg-git/issues/709
# Fixed along the way, possibly with 1b9d48a (not bisected)
if ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor 7b233f3032e4850b0f387faef4aae5ed6d5175de HEAD && ! git merge-base --is-ancestor 1b9d48a7b01e2b715af46bc1f8d5fe6f1529782c HEAD ); then
Expand Down
8 changes: 6 additions & 2 deletions wine-tkg-git/wine-tkg-patches/misc/fastsync/fastsync
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@
_patchname='ntsync-config.h.in-alt.patch' && _patchmsg="Using alternative config.h.in patchset for ntsync5" && nonuser_patcher
fi
if [ "$_protonify" = "true" ]; then
if ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor 1dfac2a252d0036c3bae08bf47f00582343a80fb HEAD ); then
if ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor d7ec9d3f95f67d49eef8fecc0640e952668b3759 HEAD ); then
_patchname='ntsync5-staging-protonify.patch' && _patchmsg="Using ntsync patchset" && nonuser_patcher
elif ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor 1dfac2a252d0036c3bae08bf47f00582343a80fb HEAD ); then
_patchname='ntsync5-staging-protonify-d7ec9d3.patch' && _patchmsg="Using ntsync patchset" && nonuser_patcher
elif ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor f41c434b88c63984082ad9d4627bef5d51434871 HEAD ); then
_patchname='ntsync5-staging-protonify-1dfac2a.patch' && _patchmsg="Using ntsync patchset" && nonuser_patcher
elif ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor fd3de9005ef504a810aeb828c5b491a7bebd7888 HEAD ); then
Expand All @@ -113,8 +115,10 @@
_patchname='ntsync5-staging-protonify-7eb72b7b.patch' && _patchmsg="Using ntsync patchset" && nonuser_patcher
fi
else
if ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor 1dfac2a252d0036c3bae08bf47f00582343a80fb HEAD ); then
if ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor d7ec9d3f95f67d49eef8fecc0640e952668b3759 HEAD ); then
_patchname='ntsync5-staging.patch' && _patchmsg="Using ntsync patchset" && nonuser_patcher
elif ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor 1dfac2a252d0036c3bae08bf47f00582343a80fb HEAD ); then
_patchname='ntsync5-staging-d7ec9d3.patch' && _patchmsg="Using ntsync patchset" && nonuser_patcher
elif ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor f41c434b88c63984082ad9d4627bef5d51434871 HEAD ); then
_patchname='ntsync5-staging-1dfac2a.patch' && _patchmsg="Using ntsync patchset" && nonuser_patcher
elif ( cd "${srcdir}"/"${_winesrcdir}" && git merge-base --is-ancestor fd3de9005ef504a810aeb828c5b491a7bebd7888 HEAD ); then
Expand Down
Loading

0 comments on commit f2adc6e

Please sign in to comment.