Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 81087 Details for
Bug 114949
dosbox-0.63 fails to compile under gcc4.0.2 on amd64, patch needs to be applied
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dosbox-0.63-gcc4.patch
dosbox-0.63-gcc4.patch (text/plain), 1.31 KB, created by
Patrick McLean
on 2006-03-01 21:13:21 UTC
(
hide
)
Description:
dosbox-0.63-gcc4.patch
Filename:
MIME Type:
Creator:
Patrick McLean
Created:
2006-03-01 21:13:21 UTC
Size:
1.31 KB
patch
obsolete
>diff -ur dosbox-0.63-orig/src/dos/drive_cache.cpp dosbox-0.63/src/dos/drive_cache.cpp >--- dosbox-0.63-orig/src/dos/drive_cache.cpp 2004-11-13 07:08:43.000000000 -0500 >+++ dosbox-0.63/src/dos/drive_cache.cpp 2006-03-02 00:00:03.000000000 -0500 >@@ -317,12 +317,12 @@ > { > char* cpos = strchr(shortName,'~'); > if (cpos) { >- Bits compareCount1 = (int)cpos - (int)shortName; >+ Bits compareCount1 = (long)cpos - (long)shortName; > char* endPos = strchr(cpos,'.'); >- Bitu numberSize = endPos ? int(endPos)-int(cpos) : strlen(cpos); >+ Bitu numberSize = endPos ? long(endPos)-long(cpos) : strlen(cpos); > > char* lpos = strchr(compareName,'.'); >- Bits compareCount2 = lpos ? int(lpos)-int(compareName) : strlen(compareName); >+ Bits compareCount2 = lpos ? long(lpos)-long(compareName) : strlen(compareName); > if (compareCount2>8) compareCount2 = 8; > > compareCount2 -= numberSize; >diff -ur dosbox-0.63-orig/src/gui/midi_alsa.h dosbox-0.63/src/gui/midi_alsa.h >--- dosbox-0.63-orig/src/gui/midi_alsa.h 2004-08-04 05:12:54.000000000 -0400 >+++ dosbox-0.63/src/gui/midi_alsa.h 2006-03-02 00:00:37.000000000 -0500 >@@ -112,7 +112,7 @@ > } > break; > default: >- LOG(LOG_MISC,LOG_WARN)("ALSA:Unknown Command: %08x", (int)msg); >+ LOG(LOG_MISC,LOG_WARN)("ALSA:Unknown Command: %08x", (long)msg); > send_event(1); > break; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114949
:
74362
|
76491
| 81087