РЕШЕНО:пропатчить wine

хочу пропатчить wine патчем который исправляет мышь (чтоб на 360°) поворачивалась в некоторых играх и получаю вот что http://dpaste.com/342723/
помогите разобраться, может патч старый, линк бы тогда на патч для 1.3.12 версии. вот PKGBUILD маленько поправленный мной http://dpaste.com/342781/ взят из abs
добавлено позже<!– ia0 –>mousepatch.tar.gz<!– ia0 –>
Ну так вроде все понятно, патч не может найти целевой файл. как патчишь? Попробуй поиграться с параметром “p”

patch -p1/p0 < wine.patch
всё это я решил, терь всё вроде компилится, но в конце концов прерывается компиляция
mouse.c: В функции ‘X11DRV_LeaveNotify’:
mouse.c:1286:34: предупреждение: при передаче аргумента 2 ‘X11DRV_send_mouse_input’ целое преобразуется в указатель без приведения типа
mouse.c:354:6: замечание: expected ‘HWND’ but argument is of type ‘int’
mouse.c:1286:34: ошибка: слишком мало аргументов в вызове функции ‘X11DRV_send_mouse_input’
mouse.c:354:6: замечание: declared here
make[1]: *** [mouse.o] Ошибка 1
make[1]: Leaving directory `/var/abs/community/wine/src/wine/dlls/winex11.drv'
make: *** [dlls/winex11.drv] Ошибка 2
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o surface_gdi.o surface_gdi.c
make: *** Ожидание завершения заданий...
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o swapchain.o swapchain.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o swapchain_base.o swapchain_base.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o swapchain_gdi.o swapchain_gdi.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o texture.o texture.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o utils.o utils.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o vertexdeclaration.o vertexdeclaration.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o view.o view.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o volume.o volume.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o volumetexture.o volumetexture.c
gcc -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 -Wlogical-op  -march=native -mtune=native -O2 -pipe   -o wined3d_main.o wined3d_main.c
LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc --po-dir=../../po  -I. -I. -I../../include -I../../include  -D__WINESRC__   -o version.res version.rc
../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./wined3d.spec arb_program_shader.o ati_fragment_shader.o basetexture.o buffer.o clipper.o context.o cubetexture.o device.o directx.o drawprim.o gl_compat.o glsl_shader.o nvidia_texture_shader.o palette.o query.o resource.o shader.o shader_sm1.o shader_sm4.o state.o stateblock.o surface.o surface_base.o surface_gdi.o swapchain.o swapchain_base.o swapchain_gdi.o texture.o utils.o vertexdeclaration.o view.o volume.o volumetexture.o wined3d_main.o     version.res    -o wined3d.dll.so  -luuid -luser32 -lgdi32 -ladvapi32  ../../libs/port/libwine_port.a  -Wl,--hash-style=gnu -Wl,--as-needed 
../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./wined3d.spec arb_program_shader.o ati_fragment_shader.o basetexture.o buffer.o clipper.o context.o cubetexture.o device.o directx.o drawprim.o gl_compat.o glsl_shader.o nvidia_texture_shader.o palette.o query.o resource.o shader.o shader_sm1.o shader_sm4.o state.o stateblock.o surface.o surface_base.o surface_gdi.o swapchain.o swapchain_base.o swapchain_gdi.o texture.o utils.o vertexdeclaration.o view.o volume.o volumetexture.o wined3d_main.o     version.res    -o wined3d.dll.fake  -luuid -luser32 -lgdi32 -ladvapi32  ../../libs/port/libwine_port.a  -Wl,--hash-style=gnu -Wl,--as-needed 
make[1]: Leaving directory `/var/abs/community/wine/src/wine/dlls/wined3d'
    Преждевременный выход...
[email protected]:/var/abs/community/wine$ ls
 
Зарегистрироваться или войдите чтобы оставить сообщение.