Added patch to avoid crashing when broken app tries to release surface although refcount is zero.

This commit is contained in:
Sebastian Lackner
2014-11-11 22:36:19 +01:00
parent 7641fa58b9
commit 3a5f2b6be0
5 changed files with 55 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ PATCHLIST := \
comctl32-LoadIconMetric.ok \
configure-Absolute_RPATH.ok \
configure-Detect_Gnutls.ok \
d3d9-Surface_Refcount.ok \
d3dx9_36-DXTn.ok \
d3dx9_36-Filter_Warnings.ok \
d3dx9_36-GetShaderSemantics.ok \
@@ -326,6 +327,24 @@ configure-Detect_Gnutls.ok:
echo '+ { "configure-Detect_Gnutls", "Sebastian Lackner", "Fix detection of gnutls on Ubuntu 14.10. [rev 3]" },'; \
) > configure-Detect_Gnutls.ok
# Patchset d3d9-Surface_Refcount
# |
# | Included patches:
# | * Don't decrease surface refcount when its already zero. [by Henri Verbeet]
# |
# | This patchset fixes the following Wine bugs:
# | * [#18477] Avoid crashing when broken app tries to release surface although refcount is zero
# |
# | Modified files:
# | * dlls/d3d9/surface.c
# |
.INTERMEDIATE: d3d9-Surface_Refcount.ok
d3d9-Surface_Refcount.ok:
$(call APPLY_FILE,d3d9-Surface_Refcount/0001-d3d9-Don-t-decrease-surface-refcount-when-its-alread.patch)
@( \
echo '+ { "d3d9-Surface_Refcount", "Henri Verbeet", "Don'\''t decrease surface refcount when its already zero." },'; \
) > d3d9-Surface_Refcount.ok
# Patchset d3dx9_36-DXTn
# |
# | Included patches: