/[packages]/cauldron/wine/current/SOURCES/wine-mdkconf.patch
ViewVC logotype

Contents of /cauldron/wine/current/SOURCES/wine-mdkconf.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 36061 - (show annotations) (download)
Mon Jan 24 04:28:07 2011 UTC (13 years, 1 month ago) by ahmad
File size: 812 byte(s)
imported package wine
1 Index: wine-1.0-rc1/dlls/ntdll/server.c
2 ===================================================================
3 --- wine-1.0-rc1/dlls/ntdll/server.c
4 +++ wine-1.0-rc1/dlls/ntdll/server.c 2008-05-13 23:02:38.000000000 +0300
5 @@ -772,6 +772,19 @@
6 mkdir( "drive_c", 0777 );
7 symlink( "../drive_c", "dosdevices/c:" );
8 symlink( "/", "dosdevices/z:" );
9 +
10 + /* Mandriva specific */
11 +#if @MDKVERSION@ >= 200810
12 + symlink( "/media/floppy", "dosdevices/a:" );
13 +#elif @MDKVERSION@ >= 200800
14 + symlink( "/media/floppy", "dosdevices/a:" );
15 + symlink( "/media/cdrom", "dosdevices/e:" );
16 +#else
17 + symlink( "/mnt/floppy", "dosdevices/a:" );
18 + symlink( "/mnt/cdrom", "dosdevices/e:" );
19 +#endif
20 + symlink( getenv( "HOME" ), "dosdevices/d:" );
21 + symlink( "/dev/ttyUSB0", "dosdevices/com4" );
22 }
23
24

  ViewVC Help
Powered by ViewVC 1.1.30