https://bugs.winehq.org/show_bug.cgi?id=54060
--- Comment #7 from Nathan Bennett version2013@protonmail.com --- (In reply to Alexandre Julliard from comment #6)
Using that patch on wine-7.21:
# patch -p1 < patch.diff patching file tools/winebuild/import.c Hunk #1 succeeded at 1733 (offset -31 lines). Hunk #2 succeeded at 1754 (offset -31 lines). Hunk #3 succeeded at 1768 (offset -31 lines). Hunk #4 FAILED at 1891. Hunk #5 succeeded at 1889 (offset -14 lines). 1 out of 5 hunks FAILED -- saving rejects to file tools/winebuild/import.c.rej
--------------------- contents of wine-7.21/tools/winebuild/import.c.rej :
--- tools/winebuild/import.c +++ tools/winebuild/import.c @@ -1891,10 +1891,10 @@ break; }
- output( "\n\t.section ".idata$4"\n" ); + output( "\n\t.section .idata$4\n" ); output_thunk_rva( by_name ? -1 : odp->ordinal, ".L__wine_import_name" );
- output( "\n\t.section ".idata$5"\n" ); + output( "\n\t.section .idata$5\n" ); output( "%s\n", asm_globl( imp_name ) ); if (is_delay) output( "\t%s .L__wine_delay_import\n", get_asm_ptr_keyword() );
--------------------- attempting to compile results in what appears to be same original error.