summaryrefslogtreecommitdiff
path: root/app-emulation
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-19 04:51:42 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-19 04:51:42 +0300
commit7ab9d9fbebd8d7efcd3f159a3ec4d3d353344915 (patch)
tree47b403f3e4a37bb9b0f2671a03c05a64f83a2489 /app-emulation
parentbcd305bdd991fa57b71334180f9d7b261c6ea8a5 (diff)
new file: app-emulation/wine/files/oblivion_winmm_badcheck_workaround.patch
new file: dev-libs/ace/ace-5.8.2.ebuild new file: dev-libs/boost/boost-1.44.0.ebuild new file: dev-libs/boost/files/random-Jamfile new file: dev-libs/boost/files/remove-toolset-1.44.0.patch new file: dev-util/boost-build/boost-build-1.44.0.ebuild modified: media-libs/babl/babl-0.9999.ebuild modified: media-libs/gegl/gegl-0.9999.ebuild new file: sys-fs/aufs2-util/aufs2-util-9999.ebuild
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/wine/files/oblivion_winmm_badcheck_workaround.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emulation/wine/files/oblivion_winmm_badcheck_workaround.patch b/app-emulation/wine/files/oblivion_winmm_badcheck_workaround.patch
new file mode 100644
index 0000000..ce23a46
--- /dev/null
+++ b/app-emulation/wine/files/oblivion_winmm_badcheck_workaround.patch
@@ -0,0 +1,13 @@
+diff --git a/dlls/winmm/mmio.c b/dlls/winmm/mmio.c
+index 75439a4..5c9fc13 100644
+--- a/dlls/winmm/mmio.c
++++ b/dlls/winmm/mmio.c
+@@ -880,7 +880,7 @@ LONG WINAPI mmioSeek(HMMIO hmmio, LONG lOffset, INT iOrigin)
+ return -1;
+ }
+
+- if (offset && offset >= wm->dwFileSize && wm->info.fccIOProc != FOURCC_MEM) {
++ if (offset && offset >= wm->dwFileSize && wm->info.fccIOProc == FOURCC_DOS) {
+ /* should check that write mode exists */
+ if (MMIO_Flush(wm, 0) != MMSYSERR_NOERROR)
+ return -1;