wine bug 27600

Vincas Miliūnas vincas.miliunas at gmail.com
Thu Jun 30 00:20:47 CDT 2011


On 06/30/2011 02:19 AM, wylda at volny.cz wrote:
>> There is some garbage added to the patch code, I
>> suspect that the way
>> you downloaded the patch corrupted it.
>>
>> I wrote a bash script that will download the
>> patches correctly and apply
>> them:
>>
>> git clean -fd
>> git reset --hard origin/master
>> for i in 75876 75883 75878 75882 75881 75884 75877 75879 75880
>> do
>> wget http://source.winehq.org/patches/data/$i -O
>> /tmp/raw-$i.patch
>> git apply /tmp/raw-$i.patch
>> done
>> ./tools/make_requests
>
> Even before i used wget for downloads & patch -p1. Anyway i gave
> your script a chance,  but i got during the compilation:
>
>
> gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe
> -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body
> -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith
> -Wlogical-op  -g -O2  -o raw_input.o raw_input.c
>
> In file included from raw_input.c:28:
>
> ../include/winternl.h:2361: error: expected declaration specifiers
> or ‘...’ before ‘va_list’
>
> ../include/winternl.h:2531: error: expected declaration specifiers
> or ‘...’ before ‘va_list’
>
> ../include/winternl.h:2532: error: expected declaration specifiers
> or ‘...’ before ‘va_list’
>
> In file included from raw_input.c:29:
>
> ../include/winbase.h:1578: error: expected declaration specifiers or
> ‘...’ before ‘va_list’
>
> ../include/winbase.h:1579: error: expected declaration specifiers or
> ‘...’ before ‘va_list’
>
> make[1]: *** [raw_input.o] Error 1
>
> make[1]: Leaving directory `/build/wine-git_build/server'
>
> make: *** [server] Error 2
>
>
Ok, try with a modified header:

git clean -fd
git reset --hard origin/master
for patch in \
0001-user32-tests-Added-client-side-raw-input-function-te.patch \
0002-user32-Added-DefRawInputProc-implementation-try-10.patch \
0003-server-user32-Added-GetRawInputDeviceList-implementa.patch \
0004-server-user32-Added-GetRawInputDeviceInfoW-implement.patch \
0005-user32-Added-GetRawInputDeviceInfoA-implementation-t.patch \
0006-server-user32-Added-GetRegisteredRawInputDevices-imp.patch \
0007-server-user32-Added-RegisterRawInputDevices-implemen.patch \
0008-user32-Added-GetRawInputBuffer-implementation-try-10.patch \
0009-server-user32-Added-GetRawInputData-implementation-t.patch
do
    wget http://dl.dropbox.com/u/6901628/$patch -O /tmp/$patch
    git apply /tmp/$patch
done
./tools/make_requests




More information about the wine-devel mailing list