http://bugs.winehq.org/show_bug.cgi?id=25298
--- Comment #20 from dj--alex@ya.ru dj--alex@ya.ru 2011-02-04 10:27:30 CST --- (In reply to comment #18)
http://bugs2.winehq.org/attachment.cgi?id=28205
This patch can be used as workaround. No crashes in Divinity2 anymore with this patch applied.
NO WORK!!!!!!!!!! please tell me your version on wine and Os?
i found patch report and try to use it http://bugs2.winehq.org/attachment.cgi?id=28205
console^ al@al-desktop:~/winecompile$ patch -p1 < div2p.p patching file dlls/wined3d/directx.c Hunk #1 succeeded at 4505 (offset 15 lines). patching file dlls/wined3d/drawprim.c Hunk #1 succeeded at 50 (offset -6 lines). Hunk #2 succeeded at 138 with fuzz 1 (offset -6 lines). Hunk #3 succeeded at 231 (offset -6 lines). Hunk #4 FAILED at 379. Hunk #5 succeeded at 768 (offset -3 lines). 1 out of 5 hunks FAILED -- saving rejects to file dlls/wined3d/drawprim.c.rej patching file dlls/wined3d/state.c Hunk #1 succeeded at 3771 (offset 110 lines). Hunk #2 succeeded at 3785 with fuzz 1 (offset 110 lines). Hunk #3 FAILED at 3763. 1 out of 3 hunks FAILED -- saving rejects to file dlls/wined3d/state.c.rej patching file dlls/wined3d/vertexdeclaration.c Hunk #1 succeeded at 123 (offset -2 lines). patching file dlls/wined3d/wined3d_private.h Hunk #1 succeeded at 1680 (offset 62 lines). al@al-desktop:~/winecompile$
i don't know how to create +- diff files but i paste here patched manually rejected files
http://wow.chg.su/inside/filemgr.php?c=8681
wine 1.3.12
ohh no... no works !!!! (((((((((((((((((((((((
when compiling i get this ^^^ -D_FORTIFY_SOURCE=0 -o device.o device.c gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o directx.o directx.c gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o drawprim.o drawprim.c drawprim.c: In function ‘emitBlendedVertex’: drawprim.c:66: error: ‘IWineD3DStateBlockImpl’ has no member named ‘transforms’ drawprim.c:73: error: ‘IWineD3DStateBlockImpl’ has no member named ‘transforms’ drawprim.c:82: error: ‘IWineD3DStateBlockImpl’ has no member named ‘transforms’ drawprim.c: In function ‘drawStridedSlow’: drawprim.c:235: error: ‘This’ undeclared (first use in this function) drawprim.c:235: error: (Each undeclared identifier is reported only once drawprim.c:235: error: for each function it appears in.) drawprim.c:238: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:239: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:240: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:241: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:242: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:243: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:246: error: ‘streamOffset’ undeclared (first use in this function) drawprim.c:247: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:251: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:252: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:386: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:392: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’ drawprim.c:406: error: invalid storage class for function ‘send_attribute’ drawprim.c:404: warning: ISO C90 forbids mixed declarations and code drawprim.c:517: error: invalid storage class for function ‘drawStridedSlowVs’ drawprim.c:574: error: invalid storage class for function ‘drawStridedInstanced’ drawprim.c:642: error: invalid storage class for function ‘remove_vbos’ drawprim.c:847: error: invalid storage class for function ‘normalize_normal’ drawprim.c:1229: error: expected declaration or statement at end of input make[1]: *** [drawprim.o] Ошибка 1 make[1]: Выход из каталога `/home/al/winecompile/dlls/wined3d' make: *** [dlls/wined3d] Ошибка 2 al@al-desktop:~/winecompile$