wok-stable rev 5936
winde: Fix build.
author | erjo@localhost |
---|---|
date | Sun Aug 01 20:14:30 2010 +0200 (2010-08-01) |
parents | 711d076b277c |
children | 1336a1c34cf1 |
files | wine/receipt wine/stuff/wine-1.2-cdrom.c.u |
line diff
1.1 --- a/wine/receipt Sat Jul 31 00:13:44 2010 +0200 1.2 +++ b/wine/receipt Sun Aug 01 20:14:30 2010 +0200 1.3 @@ -18,6 +18,9 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + 1.8 + patch -p1 < ../stuff/wine-1.2-cdrom.c.u || exit 1 1.9 + 1.10 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.11 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.12 make &&
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/wine/stuff/wine-1.2-cdrom.c.u Sun Aug 01 20:14:30 2010 +0200 2.3 @@ -0,0 +1,14 @@ 2.4 +--- wine-1.2-ori/dlls/ntdll/cdrom.c 2010-07-16 17:05:45.000000000 +0200 2.5 ++++ wine-1.2/dlls/ntdll/cdrom.c 2010-08-01 17:55:37.000000000 +0200 2.6 +@@ -2835,6 +2835,10 @@ 2.7 + static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize) 2.8 + { 2.9 + #ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID 2.10 ++#ifndef INQUIRY 2.11 ++#define INQUIRY 0x12 2.12 ++#endif 2.13 ++ 2.14 + PSCSI_INQUIRY_DATA pInquiryData = NULL; 2.15 + UCHAR sense_buffer[32]; 2.16 + int iochk, version; 2.17 +