I read this post: viewtopic.php?p=134388#p134388
But the link to the mentioned patch is outdated (404: Not Found).
wine-4.6-msvcrt_add_sincos_to_importlib.patch
https://raw.githubusercontent.com/bobwy ... tlib.patch
I spend some time finding the patch elsewhere. Here it is:
https://gitlab.winehq.org/wine/wine/-/c ... 6b879d3bd5
https://www.winehq.org/pipermail/wine-d ... 87064.html
By the way: I'd love a central place with help for compiling old wine versions on modern Linux distributions.
Sometimes you want to use a Windows program which worked with Wine years before. But the current Wine doesn't run it any more. So an old Wine version is helpful and the best basis to bisect and report a bug against the current Wine master version.
wine-4.6-msvcrt_add_sincos_to_importlib.patch moved (compiling Wine ≤ 6.8)
Re: wine-4.6-msvcrt_add_sincos_to_importlib.patch moved (compiling Wine ≤ 6.8)
P.S.
Another thing I just learned for compiling old Wine versions.
With that and the two patches from viewtopic.php?p=134388#p134388 I can compile Wine-4.0.4.
But I still can't compile Wine-3.0.5. Can anyone help?
System is: Debian-12 (gcc-12.2.0)
Another thing I just learned for compiling old Wine versions.
With that and the two patches from viewtopic.php?p=134388#p134388 I can compile Wine-4.0.4.
Code: Select all
export CFLAGS='-fcommon'
But I still can't compile Wine-3.0.5. Can anyone help?
Code: Select all
~/opt/wine-versions/wine-3.0.5/build/wine-3.0.5$ export CFLAGS='-fcommon'; ./configure --prefix="${PREFIX}" --libdir="${HOME}"/opt/wine-versions/wine-3.0.5/lib --disable-tests && make -j1 install
[...]
make[1]: Entering directory '/home/user/opt/wine-versions/wine-3.0.5/build/wine-3.0.5/dlls/crtdll'
gcc -m32 -c -o crtdll_main.o crtdll_main.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_REENTRANT \
-fPIC -fno-builtin -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
-Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
-Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
-fno-omit-frame-pointer -fcommon
make[1]: *** No rule to make target '../../dlls/msvcrt/libmsvcrt.a', needed by 'crtdll.dll.so'. Stop.
make[1]: Leaving directory '/home/user/opt/wine-versions/wine-3.0.5/build/wine-3.0.5/dlls/crtdll'
make: *** [Makefile:6364: dlls/crtdll] Error 2
System is: Debian-12 (gcc-12.2.0)