/[pkg-src]/trunk/vmware-workstation/patches/vmware-workstation-5.5.1.19175-2.6.15-address-space.patch |
Contents of /trunk/vmware-workstation/patches/vmware-workstation-5.5.1.19175-2.6.15-address-space.patch
Parent Directory | Revision Log
Revision 153 -
(show annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 671 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 671 byte(s)
-import
1 | diff -ur vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl |
2 | --- vmware-distrib.orig/bin/vmware-config.pl 2006-03-24 23:13:05.000000000 +0100 |
3 | +++ vmware-distrib/bin/vmware-config.pl 2006-03-24 23:26:40.000000000 +0100 |
4 | @@ -1969,7 +1969,7 @@ |
5 | . ' -E - | ' . shell_string($gHelper{'grep'}) . ' ' |
6 | . shell_string($pattern)); |
7 | chomp($header_page_offset); |
8 | - $header_page_offset =~ s/^$pattern \(?0x([0-9a-fA-F]{8,}).*$/$1/; |
9 | + $header_page_offset =~ s/^$pattern \(?(\([^)]*\))?\)?0x([0-9a-fA-F]{8,}).*$/$2/; |
10 | if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) { |
11 | # We found a valid page offset |
12 | if (defined($gSystem{'page_offset'}) and |