#
# This file is automatically generated, DO NOT EDIT!
#

.NOTPARALLEL:

CURDIR    ?= ${.CURDIR}
PATCH     := $(CURDIR)/../debian/tools/gitapply.sh
APPLY      = (cd "$(DESTDIR)" && $(PATCH))
APPLY_FILE = @echo "Applying $(1)"; $(APPLY) < "$(CURDIR)/$(1)"

#
# This Makefile understands the following targets:
#
# install (default):  apply patches to directory provided by DESTDIR
# install-git:        as above, but use 'git am' to apply the patches
# series:             create a 'series' file containing the patch order
# clean:              delete autogenerated and temporary files
#

PATCHLIST := \
	Miscellaneous.ok \
	Pipelight.ok \
	Staging.ok \
	atl-IOCS_Property.ok \
	comctl32-LoadIconMetric.ok \
	configure-Absolute_RPATH.ok \
	configure-Detect_Gnutls.ok \
	d3dx9_36-CreatePolygon.ok \
	d3dx9_36-Filter_Warnings.ok \
	d3dx9_36-GetShaderSemantics.ok \
	d3dx9_36-UpdateSkinnedMesh.ok \
	dbghelp-KdHelp.ok \
	dsound-Fast_Mixer.ok \
	fonts-Missing_Fonts.ok \
	gdi32-MultiMonitor.ok \
	gdiplus-GdipCreateRegionRgnData.ok \
	imagehlp-BindImageEx.ok \
	imm32-Cross_Thread_Access.ok \
	iphlpapi-TCP_Table.ok \
	kernel32-FindFirstFile.ok \
	kernel32-GetFinalPathNameByHandle.ok \
	kernel32-GetNumaProcessorNode.ok \
	kernel32-GetSystemTimes.ok \
	kernel32-GetVolumePathName.ok \
	kernel32-Named_Pipe.ok \
	kernel32-UTF7_Support.ok \
	libs-Unicode_Collation.ok \
	libwine-BSD_mmap_fixed.ok \
	msi-Transform_ProductVersion.ok \
	msvcp90-basic_string_wchar_dtor.ok \
	ntdll-DOS_Attributes.ok \
	ntdll-Dynamic_DST.ok \
	ntdll-Exception.ok \
	ntdll-FD_Cache.ok \
	ntdll-FileDispositionInformation.ok \
	ntdll-Fix_Alignment.ok \
	ntdll-Fix_Free.ok \
	ntdll-Heap_FreeLists.ok \
	ntdll-Junction_Points.ok \
	ntdll-LZNT1_Compression.ok \
	ntdll-NtQuerySection.ok \
	ntdll-Pipe_SpecialCharacters.ok \
	ntdll-WRITECOPY.ok \
	ntoskrnl-Irp_Status.ok \
	ntoskrnl-Write_CR4.ok \
	oleaut32-TLB_Resource.ok \
	quartz-MediaSeeking_Positions.ok \
	riched20-IText_Interface.ok \
	server-ACL_Compat.ok \
	server-Address_Change_Notification.ok \
	server-CreateProcess_ACLs.ok \
	server-Inherited_ACLs.ok \
	server-Misc_ACL.ok \
	server-OpenProcess.ok \
	server-Stored_ACLs.ok \
	setupapi-SetupPromptForDisk.ok \
	shdocvw-ParseURLFromOutsideSource_Tests.ok \
	shell32-Default_Folder_ACLs.ok \
	shell32-Default_Path.ok \
	shell32-Icons.ok \
	shell32-RunDLL_CallEntry16.ok \
	shell32-SHCreateSessionKey.ok \
	shell32-SHFileOperation.ok \
	shlwapi-PathIsDirectoryEmptyW.ok \
	shlwapi-UrlCombine.ok \
	user32-Dialog_Paint_Event.ok \
	user32-GetSystemMetrics.ok \
	user32-GetTipText.ok \
	user32-WndProc.ok \
	wine.inf-ProductId.ok \
	wineboot-HKEY_DYN_DATA.ok \
	winebuild-LinkerVersion.ok \
	wined3d-DXTn.ok \
	wined3d-Revert_PixelFormat.ok \
	winemenubuilder-Desktop_Icon_Path.ok \
	winepulse-PulseAudio_Support.ok \
	winex11-CandidateWindowPos.ok \
	winex11-Clipboard_HTML.ok \
	winex11-Limited_Resolutions.ok \
	winex11-Window_Groups.ok \
	winex11-XEMBED.ok \
	winex11-wglShareLists.ok \
	wpcap-Dynamic_Linking.ok \
	ws2_32-Connect_Time.ok \
	ws2_32-TransmitFile.ok \
	ws2_32-inet_pton.ok \
	wtsapi32-EnumerateProcesses.ok

.PHONY: install
install: $(PATCHLIST)
	cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh | $(APPLY)
	cd $(DESTDIR) && autoreconf -f
	cd $(DESTDIR) && ./tools/make_requests

.PHONY: install-git
install-git: PATCH := git am
install-git: install

series: APPLY_FILE = @echo "$(1)" >> series
series: $(PATCHLIST)
	@cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh > patchlist.diff
	@echo "patchlist.diff" >> series
	@( \
		echo ""; \
		echo "The 'series' file was created in current directory. Please note that"; \
		echo "'patchlist.diff' is autogenerated based on your selection of patches and not"; \
		echo "included in this repository - keep in mind to update it on every release."; \
		echo ""; \
		echo "Moreover, depending on which patches you have selected, you will have to run"; \
		echo "'autoreconf -f' and/or './tools/make_requests' after applying them."; \
		echo ""; \
		binary=0; \
		while IFS= read -r line; do \
			if grep -q "^GIT binary patch" "$$line"; then \
				binary=1; break; \
			fi \
		done < series; \
		if [ "$$binary" -ne 0 ]; then \
			echo "The following files contain binary patches and cannot be applied with the"; \
			echo "regular 'patch' commandline tool:"; \
			echo ""; \
			while IFS= read -r line; do \
				grep -q "^GIT binary patch" "$$line" && echo "$$line"; \
			done < series; \
			echo ""; \
			echo "Please use 'git apply' or '../debian/tools/gitapply.sh' from this repository."; \
			echo ""; \
		fi \
	)

.PHONY: clean
clean:
	rm -f series patchlist.diff
	rm -f *.ok

# Patchset Miscellaneous
# |
# | Included patches:
# |   *	kernel32: Silence repeated CompareStringEx FIXME. [by Sebastian Lackner]
# |   *	wined3d: Silence repeated resource_check_usage FIXME. [rev 2, by Erich E. Hoover]
# |   *	wined3d: Silence repeated wined3d_swapchain_present FIXME. [by Sebastian Lackner]
# |   *	usp10: Silence repeated GSUB_apply_ChainContext[Subst|Pos] FIXMEs. [by Sebastian Lackner]
# |   *	Appease the blessed version of gcc (4.5) when -Werror is enabled. [by Erich E. Hoover]
# |
# | Modified files:
# |   *	dlls/d3d9/tests/visual.c, dlls/kernel32/locale.c, dlls/netapi32/netapi32.c, dlls/usp10/opentype.c,
# | 	dlls/winealsa.drv/mmdevdrv.c, dlls/wined3d/glsl_shader.c, dlls/wined3d/resource.c, dlls/wined3d/swapchain.c,
# | 	tools/makedep.c
# |
.INTERMEDIATE: Miscellaneous.ok
Miscellaneous.ok:
	$(call APPLY_FILE,Miscellaneous/0001-wined3d-Silence-repeated-resource_check_usage-FIXME.patch)
	$(call APPLY_FILE,Miscellaneous/0002-kernel32-Silence-repeated-CompareStringEx-FIXME.patch)
	$(call APPLY_FILE,Miscellaneous/0003-wined3d-Silence-repeated-wined3d_swapchain_present-F.patch)
	$(call APPLY_FILE,Miscellaneous/0004-usp10-Silence-repeated-GSUB_apply_ChainContext-Subst.patch)
	$(call APPLY_FILE,Miscellaneous/0005-Appease-the-blessed-version-of-gcc-4.5-when-Werror-i.patch)
	@( \
		echo '+    { "Miscellaneous", "Sebastian Lackner", "kernel32: Silence repeated CompareStringEx FIXME." },'; \
		echo '+    { "Miscellaneous", "Erich E. Hoover", "wined3d: Silence repeated resource_check_usage FIXME. [rev 2]" },'; \
		echo '+    { "Miscellaneous", "Sebastian Lackner", "wined3d: Silence repeated wined3d_swapchain_present FIXME." },'; \
		echo '+    { "Miscellaneous", "Sebastian Lackner", "usp10: Silence repeated GSUB_apply_ChainContext[Subst|Pos] FIXMEs." },'; \
		echo '+    { "Miscellaneous", "Erich E. Hoover", "Appease the blessed version of gcc (4.5) when -Werror is enabled." },'; \
	) > Miscellaneous.ok

# Patchset Pipelight
# |
# | Included patches:
# |   *	Decrease minimum SetTimer interval to 5 ms. [rev 2, by Michael Müller]
# |   *	Allow changing strict draw ordering through an exported function. [by Michael Müller]
# |   *	Indicate direct rendering through OpenGL extension. [by Michael Müller]
# |   *	Implement X11DRV_FLUSH_GDI_DISPLAY ExtEscape command. [by Sebastian Lackner]
# |
# | Modified files:
# |   *	dlls/user32/message.c, dlls/wined3d/wined3d.spec, dlls/wined3d/wined3d_main.c, dlls/winex11.drv/init.c,
# | 	dlls/winex11.drv/opengl.c, dlls/winex11.drv/x11drv.h
# |
.INTERMEDIATE: Pipelight.ok
Pipelight.ok:
	$(call APPLY_FILE,Pipelight/0001-winex11-Implement-X11DRV_FLUSH_GDI_DISPLAY-ExtEscape-c.patch)
	$(call APPLY_FILE,Pipelight/0002-user32-Decrease-minimum-SetTimer-interval-to-5-ms.patch)
	$(call APPLY_FILE,Pipelight/0003-wined3d-allow-changing-strict-drawing-through-an-exp.patch)
	$(call APPLY_FILE,Pipelight/0004-winex11.drv-Indicate-direct-rendering-through-OpenGL.patch)
	@( \
		echo '+    { "Pipelight", "Michael Müller", "Decrease minimum SetTimer interval to 5 ms. [rev 2]" },'; \
		echo '+    { "Pipelight", "Michael Müller", "Allow changing strict draw ordering through an exported function." },'; \
		echo '+    { "Pipelight", "Michael Müller", "Indicate direct rendering through OpenGL extension." },'; \
		echo '+    { "Pipelight", "Sebastian Lackner", "Implement X11DRV_FLUSH_GDI_DISPLAY ExtEscape command." },'; \
	) > Pipelight.ok

# Patchset Staging
# |
# | Included patches:
# |   *	Add winediag message to show warning, that this isn't vanilla wine. [by Sebastian Lackner]
# |   *	Append '(Staging)' at the end of the version string. [by Sebastian Lackner]
# |   *	Add commandline option --patches to show the patch list. [by Sebastian Lackner]
# |   *	Add commandline option --check-libs to test if shared libraries are installed. [by Michael Müller]
# |
# | Modified files:
# |   *	dlls/kernel32/process.c, dlls/ntdll/misc.c, dlls/ntdll/ntdll.spec, include/wine/library.h, libs/wine/Makefile.in,
# | 	libs/wine/config.c, libs/wine/loader.c, libs/wine/wine.def, libs/wine/wine.map, loader/main.c
# |
.INTERMEDIATE: Staging.ok
Staging.ok:
	$(call APPLY_FILE,Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch)
	$(call APPLY_FILE,Staging/0002-winelib-Append-Staging-at-the-end-of-the-version-s.patch)
	$(call APPLY_FILE,Staging/0003-loader-Add-commandline-option-patches-to-show-the-pa.patch)
	$(call APPLY_FILE,Staging/0004-loader-Add-commandline-option-check-libs.patch)
	@( \
		echo '+    { "Staging", "Sebastian Lackner", "Add winediag message to show warning, that this isn'\''t vanilla wine." },'; \
		echo '+    { "Staging", "Sebastian Lackner", "Append '\''(Staging)'\'' at the end of the version string." },'; \
		echo '+    { "Staging", "Sebastian Lackner", "Add commandline option --patches to show the patch list." },'; \
		echo '+    { "Staging", "Michael Müller", "Add commandline option --check-libs to test if shared libraries are installed." },'; \
	) > Staging.ok

# Patchset atl-IOCS_Property
# |
# | Included patches:
# |   *	Store IOCS data in a property instead of GWLP_USERDATA. [by Qian Hong]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#21767] ATL IOCS data should not be stored in GWLP_USERDATA
# |
# | Modified files:
# |   *	dlls/atl/atl_ax.c
# |
.INTERMEDIATE: atl-IOCS_Property.ok
atl-IOCS_Property.ok:
	$(call APPLY_FILE,atl-IOCS_Property/0001-atl-Don-t-use-GWLP_USERDATA-to-store-IOCS-to-avoid-c.patch)
	@( \
		echo '+    { "atl-IOCS_Property", "Qian Hong", "Store IOCS data in a property instead of GWLP_USERDATA." },'; \
	) > atl-IOCS_Property.ok

# Patchset comctl32-LoadIconMetric
# |
# | Included patches:
# |   *	Implement LoadIconMetric function. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#35375] Support for LoadIconMetric
# |
# | Modified files:
# |   *	dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec, dlls/comctl32/icon.c, dlls/comctl32/tests/misc.c,
# | 	include/commctrl.h
# |
.INTERMEDIATE: comctl32-LoadIconMetric.ok
comctl32-LoadIconMetric.ok:
	$(call APPLY_FILE,comctl32-LoadIconMetric/0001-comctl32-Implement-LoadIconMetric-function.patch)
	$(call APPLY_FILE,comctl32-LoadIconMetric/0002-comctl32-tests-Add-tests-for-LoadIconMetric-function.patch)
	@( \
		echo '+    { "comctl32-LoadIconMetric", "Michael Müller", "Implement LoadIconMetric function." },'; \
	) > comctl32-LoadIconMetric.ok

# Patchset configure-Absolute_RPATH
# |
# | Included patches:
# |   *	Also add the absolute RPATH when linking against libwine. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#26256] Support for setcap on wine-preloader
# |
# | Modified files:
# |   *	configure.ac
# |
.INTERMEDIATE: configure-Absolute_RPATH.ok
configure-Absolute_RPATH.ok:
	$(call APPLY_FILE,configure-Absolute_RPATH/0001-configure-Also-add-the-absolute-RPATH-when-linking-a.patch)
	@( \
		echo '+    { "configure-Absolute_RPATH", "Sebastian Lackner", "Also add the absolute RPATH when linking against libwine." },'; \
	) > configure-Absolute_RPATH.ok

# Patchset configure-Detect_Gnutls
# |
# | Included patches:
# |   *	Fix detection of gnutls on Ubuntu 14.10. [rev 3, by Sebastian Lackner]
# |
# | Modified files:
# |   *	configure.ac
# |
.INTERMEDIATE: configure-Detect_Gnutls.ok
configure-Detect_Gnutls.ok:
	$(call APPLY_FILE,configure-Detect_Gnutls/0001-configure-Fix-detection-of-gnutls-on-Ubuntu-14.10.patch)
	@( \
		echo '+    { "configure-Detect_Gnutls", "Sebastian Lackner", "Fix detection of gnutls on Ubuntu 14.10. [rev 3]" },'; \
	) > configure-Detect_Gnutls.ok

# Patchset d3dx9_36-CreatePolygon
# |
# | Included patches:
# |   *	Implement D3DXCreatePolygon. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#13632] Support for D3DXCreatePolygon
# |
# | Modified files:
# |   *	dlls/d3dx9_36/d3dx9_36.spec, dlls/d3dx9_36/mesh.c, dlls/d3dx9_36/tests/mesh.c, include/d3dx9shape.h
# |
.INTERMEDIATE: d3dx9_36-CreatePolygon.ok
d3dx9_36-CreatePolygon.ok:
	$(call APPLY_FILE,d3dx9_36-CreatePolygon/0001-d3dx9_36-Implement-D3DXCreatePolygon.patch)
	$(call APPLY_FILE,d3dx9_36-CreatePolygon/0002-d3dx9_36-tests-Add-tests-for-D3DXCreatePolygon.patch)
	@( \
		echo '+    { "d3dx9_36-CreatePolygon", "Sebastian Lackner", "Implement D3DXCreatePolygon." },'; \
	) > d3dx9_36-CreatePolygon.ok

# Patchset d3dx9_36-Filter_Warnings
# |
# | Included patches:
# |   *	D3DCompileShader should filter specific warning messages. [by Christian Costa]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#33770] D3DCompileShader should filter specific warning messages
# |
# | Modified files:
# |   *	dlls/d3dx9_36/shader.c
# |
.INTERMEDIATE: d3dx9_36-Filter_Warnings.ok
d3dx9_36-Filter_Warnings.ok:
	$(call APPLY_FILE,d3dx9_36-Filter_Warnings/0001-d3dx9_36-Filter-out-D3DCompile-warning-messages-that.patch)
	@( \
		echo '+    { "d3dx9_36-Filter_Warnings", "Christian Costa", "D3DCompileShader should filter specific warning messages." },'; \
	) > d3dx9_36-Filter_Warnings.ok

# Patchset d3dx9_36-GetShaderSemantics
# |
# | Included patches:
# |   *	Implement D3DXGetShaderInputSemantics. [by Christian Costa]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#22682] Support for D3DXGetShaderInputSemantics
# |
# | Modified files:
# |   *	dlls/d3dx9_36/d3dx9_36.spec, dlls/d3dx9_36/shader.c, dlls/d3dx9_36/tests/shader.c, include/d3dx9shader.h
# |
.INTERMEDIATE: d3dx9_36-GetShaderSemantics.ok
d3dx9_36-GetShaderSemantics.ok:
	$(call APPLY_FILE,d3dx9_36-GetShaderSemantics/0001-d3dx9_36-Implement-D3DXGetShaderInputSemantics-tests.patch)
	@( \
		echo '+    { "d3dx9_36-GetShaderSemantics", "Christian Costa", "Implement D3DXGetShaderInputSemantics." },'; \
	) > d3dx9_36-GetShaderSemantics.ok

# Patchset d3dx9_36-UpdateSkinnedMesh
# |
# | Included patches:
# |   *	Implement ID3DXSkinInfoImpl_UpdateSkinnedMesh [by Christian Costa]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#32572] Support for ID3DXSkinInfoImpl_UpdateSkinnedMesh
# |
# | Modified files:
# |   *	dlls/d3dx9_36/skin.c, dlls/d3dx9_36/tests/mesh.c
# |
.INTERMEDIATE: d3dx9_36-UpdateSkinnedMesh.ok
d3dx9_36-UpdateSkinnedMesh.ok:
	$(call APPLY_FILE,d3dx9_36-UpdateSkinnedMesh/0001-d3dx9_36-Implement-ID3DXSkinInfoImpl_UpdateSkinnedMe.patch)
	@( \
		echo '+    { "d3dx9_36-UpdateSkinnedMesh", "Christian Costa", "Implement ID3DXSkinInfoImpl_UpdateSkinnedMesh" },'; \
	) > d3dx9_36-UpdateSkinnedMesh.ok

# Patchset dbghelp-KdHelp
# |
# | Included patches:
# |   *	Don't fill KdHelp structure for usermode applications. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#37272] Don't fill KdHelp structure for usermode applications
# |
# | Modified files:
# |   *	dlls/dbghelp/stack.c
# |
.INTERMEDIATE: dbghelp-KdHelp.ok
dbghelp-KdHelp.ok:
	$(call APPLY_FILE,dbghelp-KdHelp/0001-dbghelp-Don-t-fill-KdHelp-structure-for-usermode-app.patch)
	@( \
		echo '+    { "dbghelp-KdHelp", "Sebastian Lackner", "Don'\''t fill KdHelp structure for usermode applications." },'; \
	) > dbghelp-KdHelp.ok

# Patchset dsound-Fast_Mixer
# |
# | Included patches:
# |   *	Add a linear resampler for use with a large number of dsound mixing buffers. [by Alexander E. Patrakov]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#30639] Audio stuttering and performance drops in multiple applications
# |
# | Modified files:
# |   *	dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c
# |
.INTERMEDIATE: dsound-Fast_Mixer.ok
dsound-Fast_Mixer.ok:
	$(call APPLY_FILE,dsound-Fast_Mixer/0001-dsound-Add-a-linear-resampler-for-use-with-a-large-n.patch)
	@( \
		echo '+    { "dsound-Fast_Mixer", "Alexander E. Patrakov", "Add a linear resampler for use with a large number of dsound mixing buffers." },'; \
	) > dsound-Fast_Mixer.ok

# Patchset fonts-Missing_Fonts
# |
# | Included patches:
# |   *	Implement missing fonts expected by Silverlight. [rev 2, by Torsten Kurbad / Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#32323] Implement an Arial replacement font
# |   *	[#13829] Implement a Microsoft Yahei replacement font
# |
# | Modified files:
# |   *	fonts/Makefile.in, fonts/arial.sfd, fonts/arial.ttf, fonts/cour.sfd, fonts/cour.ttf, fonts/msyh.sfd, fonts/msyh.ttf
# |
.INTERMEDIATE: fonts-Missing_Fonts.ok
fonts-Missing_Fonts.ok:
	$(call APPLY_FILE,fonts-Missing_Fonts/0001-fonts-Add-Liberation-Sans-as-an-Arial-replacement.patch)
	$(call APPLY_FILE,fonts-Missing_Fonts/0002-fonts-Add-WenQuanYi-Micro-Hei-as-a-Microsoft-Yahei-r.patch)
	$(call APPLY_FILE,fonts-Missing_Fonts/0003-fonts-Add-Courier-Prime-as-a-Courier-New-replacement.patch)
	@( \
		echo '+    { "fonts-Missing_Fonts", "Torsten Kurbad / Erich E. Hoover", "Implement missing fonts expected by Silverlight. [rev 2]" },'; \
	) > fonts-Missing_Fonts.ok

# Patchset gdi32-MultiMonitor
# |
# | Included patches:
# |   *	Add multi monitor support to gdi32. [by Ken Thomases]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#34978] Multiple applications need EnumDisplayDevicesW implementation
# |
# | Modified files:
# |   *	dlls/gdi32/driver.c, dlls/user32/misc.c, dlls/winex11.drv/xinerama.c
# |
.INTERMEDIATE: gdi32-MultiMonitor.ok
gdi32-MultiMonitor.ok:
	$(call APPLY_FILE,gdi32-MultiMonitor/0001-gdi32-Also-accept-.-DISPLAY-n-devices-names-with-n-o.patch)
	$(call APPLY_FILE,gdi32-MultiMonitor/0002-winex11-Make-GetMonitorInfo-give-a-different-device-.patch)
	$(call APPLY_FILE,gdi32-MultiMonitor/0003-user32-Implement-EnumDisplayDevicesW-based-on-EnumDi.patch)
	@( \
		echo '+    { "gdi32-MultiMonitor", "Ken Thomases", "Add multi monitor support to gdi32." },'; \
	) > gdi32-MultiMonitor.ok

# Patchset gdiplus-GdipCreateRegionRgnData
# |
# | Included patches:
# |   *	Implement GdipCreateRegionRgnData. [rev 3, by Dmitry Timoshkov]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#34843] Support for GdipCreateRegionRgnData
# |
# | Modified files:
# |   *	dlls/gdiplus/region.c, dlls/gdiplus/tests/region.c
# |
.INTERMEDIATE: gdiplus-GdipCreateRegionRgnData.ok
gdiplus-GdipCreateRegionRgnData.ok:
	$(call APPLY_FILE,gdiplus-GdipCreateRegionRgnData/0001-gdiplus-Implement-GdipCreateRegionRgnData.-Take-3.patch)
	@( \
		echo '+    { "gdiplus-GdipCreateRegionRgnData", "Dmitry Timoshkov", "Implement GdipCreateRegionRgnData. [rev 3]" },'; \
	) > gdiplus-GdipCreateRegionRgnData.ok

# Patchset imagehlp-BindImageEx
# |
# | Included patches:
# |   *	Partial implementation of BindImageEx. [by Bernhard Reiter]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#3591] Support for BindImageEx
# |
# | Modified files:
# |   *	dlls/imagehlp/modify.c, dlls/imagehlp/tests/image.c
# |
.INTERMEDIATE: imagehlp-BindImageEx.ok
imagehlp-BindImageEx.ok:
	$(call APPLY_FILE,imagehlp-BindImageEx/0001-imagehlp-Implement-parts-of-BindImageEx-to-make-free.patch)
	@( \
		echo '+    { "imagehlp-BindImageEx", "Bernhard Reiter", "Partial implementation of BindImageEx." },'; \
	) > imagehlp-BindImageEx.ok

# Patchset imm32-Cross_Thread_Access
# |
# | Included patches:
# |   *	Limit cross thread access to ImmSet* functions. [by Aric Stewart]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#35361] Limit cross thread access to ImmSet* functions
# |
# | Modified files:
# |   *	dlls/imm32/imm.c, dlls/imm32/tests/imm32.c
# |
.INTERMEDIATE: imm32-Cross_Thread_Access.ok
imm32-Cross_Thread_Access.ok:
	$(call APPLY_FILE,imm32-Cross_Thread_Access/0001-imm32-Move-thread-data-from-TLSEntry-to-an-internal-.patch)
	$(call APPLY_FILE,imm32-Cross_Thread_Access/0002-imm32-Do-not-let-ImmDestroyContext-destroy-any-defau.patch)
	$(call APPLY_FILE,imm32-Cross_Thread_Access/0003-imm32-Use-thread-data-from-target-HWND.patch)
	$(call APPLY_FILE,imm32-Cross_Thread_Access/0004-imm32-Restrict-crossthread-Association-and-destructi.patch)
	$(call APPLY_FILE,imm32-Cross_Thread_Access/0005-imm32-Limit-cross-thread-access-to-ImmSet-functions.patch)
	@( \
		echo '+    { "imm32-Cross_Thread_Access", "Aric Stewart", "Limit cross thread access to ImmSet* functions." },'; \
	) > imm32-Cross_Thread_Access.ok

# Patchset iphlpapi-TCP_Table
# |
# | Included patches:
# |   *	Implement AllocateAndGetTcpExTableFromStack. [by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#34372] Support for AllocateAndGetTcpExTableFromStack
# |
# | Modified files:
# |   *	dlls/iphlpapi/iphlpapi.spec, dlls/iphlpapi/ipstats.c, dlls/iphlpapi/ipstats.h
# |
.INTERMEDIATE: iphlpapi-TCP_Table.ok
iphlpapi-TCP_Table.ok:
	$(call APPLY_FILE,iphlpapi-TCP_Table/0001-iphlpapi-Implement-AllocateAndGetTcpExTableFromStack.patch)
	@( \
		echo '+    { "iphlpapi-TCP_Table", "Erich E. Hoover", "Implement AllocateAndGetTcpExTableFromStack." },'; \
	) > iphlpapi-TCP_Table.ok

# Patchset kernel32-FindFirstFile
# |
# | Included patches:
# |   *	Implement FindFirstFileExW level FindExInfoBasic. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#37354] Support for FindFirstFileExW level FindExInfoBasic
# |
# | Modified files:
# |   *	dlls/kernel32/file.c, dlls/kernel32/tests/file.c
# |
.INTERMEDIATE: kernel32-FindFirstFile.ok
kernel32-FindFirstFile.ok:
	$(call APPLY_FILE,kernel32-FindFirstFile/0001-kernel32-Implement-FindFirstFileExW-level-FindExInfo.patch)
	@( \
		echo '+    { "kernel32-FindFirstFile", "Sebastian Lackner", "Implement FindFirstFileExW level FindExInfoBasic." },'; \
	) > kernel32-FindFirstFile.ok

# Patchset kernel32-GetFinalPathNameByHandle
# |
# | Included patches:
# |   *	Implement GetFinalPathNameByHandle in kernel32. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#36073] Support for GetFinalPathNameByHandle
# |
# | Modified files:
# |   *	dlls/kernel32/file.c, dlls/kernel32/kernel32.spec, dlls/kernel32/tests/file.c, include/fileapi.h
# |
.INTERMEDIATE: kernel32-GetFinalPathNameByHandle.ok
kernel32-GetFinalPathNameByHandle.ok:
	$(call APPLY_FILE,kernel32-GetFinalPathNameByHandle/0001-kernel32-Implement-GetFinalPathNameByHandle.patch)
	$(call APPLY_FILE,kernel32-GetFinalPathNameByHandle/0002-kernel32-tests-Add-tests-for-GetFinalPathNameByHandl.patch)
	@( \
		echo '+    { "kernel32-GetFinalPathNameByHandle", "Michael Müller", "Implement GetFinalPathNameByHandle in kernel32." },'; \
	) > kernel32-GetFinalPathNameByHandle.ok

# Patchset kernel32-GetNumaProcessorNode
# |
# | Included patches:
# |   *	Implement GetNumaProcessorNode. [by Michael Müller]
# |
# | Modified files:
# |   *	dlls/kernel32/cpu.c, dlls/kernel32/kernel32.spec, dlls/kernel32/tests/Makefile.in, dlls/kernel32/tests/cpu.c,
# | 	include/winbase.h
# |
.INTERMEDIATE: kernel32-GetNumaProcessorNode.ok
kernel32-GetNumaProcessorNode.ok:
	$(call APPLY_FILE,kernel32-GetNumaProcessorNode/0001-kernel32-Implement-GetNumaProcessorNode.patch)
	$(call APPLY_FILE,kernel32-GetNumaProcessorNode/0002-kernel32-tests-Add-tests-for-GetNumaProcessorNode.patch)
	@( \
		echo '+    { "kernel32-GetNumaProcessorNode", "Michael Müller", "Implement GetNumaProcessorNode." },'; \
	) > kernel32-GetNumaProcessorNode.ok

# Patchset kernel32-GetSystemTimes
# |
# | Included patches:
# |   *	Implement GetSystemTimes. [rev 2, by Louis Lenders / Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#19813] Support for GetSystemTimes
# |
# | Modified files:
# |   *	dlls/kernel32/tests/time.c, dlls/kernel32/time.c
# |
.INTERMEDIATE: kernel32-GetSystemTimes.ok
kernel32-GetSystemTimes.ok:
	$(call APPLY_FILE,kernel32-GetSystemTimes/0001-kernel32-Add-tests-for-GetSystemTimes.patch)
	$(call APPLY_FILE,kernel32-GetSystemTimes/0002-kernel32-Implement-GetSystemTimes.patch)
	@( \
		echo '+    { "kernel32-GetSystemTimes", "Louis Lenders / Erich E. Hoover", "Implement GetSystemTimes. [rev 2]" },'; \
	) > kernel32-GetSystemTimes.ok

# Patchset kernel32-GetVolumePathName
# |
# | Included patches:
# |   *	Implement GetVolumePathName. [by Erich E. Hoover]
# |
# | Modified files:
# |   *	dlls/kernel32/tests/volume.c, dlls/kernel32/volume.c
# |
.INTERMEDIATE: kernel32-GetVolumePathName.ok
kernel32-GetVolumePathName.ok:
	$(call APPLY_FILE,kernel32-GetVolumePathName/0001-kernel32-Implement-GetVolumePathName.patch)
	$(call APPLY_FILE,kernel32-GetVolumePathName/0002-kernel32-Convert-GetVolumePathName-tests-into-a-list.patch)
	$(call APPLY_FILE,kernel32-GetVolumePathName/0003-kernel32-Add-a-bunch-more-GetVolumePathName-tests.patch)
	$(call APPLY_FILE,kernel32-GetVolumePathName/0004-kernel32-tests-Add-a-lot-of-picky-GetVolumePathName-.patch)
	@( \
		echo '+    { "kernel32-GetVolumePathName", "Erich E. Hoover", "Implement GetVolumePathName." },'; \
	) > kernel32-GetVolumePathName.ok

# Patchset kernel32-Named_Pipe
# |
# | Included patches:
# |   *	Fix for ConnectNamedPort return value in overlapped mode. [by Dan Kegel]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#16550] Fix for ConnectNamedPort return value in overlapped mode
# |
# | Modified files:
# |   *	dlls/kernel32/sync.c
# |
.INTERMEDIATE: kernel32-Named_Pipe.ok
kernel32-Named_Pipe.ok:
	$(call APPLY_FILE,kernel32-Named_Pipe/0001-kernel32-ConnectNamedPort-should-return-FALSE-and-se.patch)
	@( \
		echo '+    { "kernel32-Named_Pipe", "Dan Kegel", "Fix for ConnectNamedPort return value in overlapped mode." },'; \
	) > kernel32-Named_Pipe.ok

# Patchset kernel32-UTF7_Support
# |
# | Included patches:
# |   *	Support for UTF7 encoding/decoding [rev 3, by Alex Henrie]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#27388] Support for UTF7 encoding/decoding
# |
# | Modified files:
# |   *	dlls/kernel32/locale.c, dlls/kernel32/tests/codepage.c
# |
.INTERMEDIATE: kernel32-UTF7_Support.ok
kernel32-UTF7_Support.ok:
	$(call APPLY_FILE,kernel32-UTF7_Support/0001-kernel32-Support-UTF-7-in-MultiByteToWideChar.patch)
	$(call APPLY_FILE,kernel32-UTF7_Support/0002-kernel32-Support-UTF-7-in-WideCharToMultiByte.patch)
	$(call APPLY_FILE,kernel32-UTF7_Support/0003-kernel32-tests-Add-tests-for-UTF-7-conversion.patch)
	@( \
		echo '+    { "kernel32-UTF7_Support", "Alex Henrie", "Support for UTF7 encoding/decoding [rev 3]" },'; \
	) > kernel32-UTF7_Support.ok

# Patchset libs-Unicode_Collation
# |
# | Included patches:
# |   *	Fix comparison of punctuation characters. [by Dmitry Timoshkov]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#10767] Fix comparison of punctuation characters in lstrcmp
# |
# | Modified files:
# |   *	dlls/kernel32/tests/locale.c, libs/wine/collation.c
# |
.INTERMEDIATE: libs-Unicode_Collation.ok
libs-Unicode_Collation.ok:
	$(call APPLY_FILE,libs-Unicode_Collation/0001-libs-Fix-most-problems-with-CompareString.patch)
	@( \
		echo '+    { "libs-Unicode_Collation", "Dmitry Timoshkov", "Fix comparison of punctuation characters." },'; \
	) > libs-Unicode_Collation.ok

# Patchset libwine-BSD_mmap_fixed
# |
# | Included patches:
# |   *	Use try_mmap_fixed for wine64 on FreeBSD. [by André Hentschel]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#34330] Support for wine64 on FreeBSD/PC-BSD
# |
# | Modified files:
# |   *	libs/wine/mmap.c
# |
.INTERMEDIATE: libwine-BSD_mmap_fixed.ok
libwine-BSD_mmap_fixed.ok:
	$(call APPLY_FILE,libwine-BSD_mmap_fixed/0001-libwine-Use-try_mmap_fixed-for-wine64-on-FreeBSD.patch)
	@( \
		echo '+    { "libwine-BSD_mmap_fixed", "André Hentschel", "Use try_mmap_fixed for wine64 on FreeBSD." },'; \
	) > libwine-BSD_mmap_fixed.ok

# Patchset mshtml-sessionStorage
# |
# | Included patches:
# |   *	Implement sessionStorage (partially). [by Zhenbo Li]
# |
# | Modified files:
# |   *	dlls/mshtml/htmlstorage.c, dlls/mshtml/htmlwindow.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/nsiface.idl,
# | 	dlls/mshtml/tests/htmldoc.c
# |
.INTERMEDIATE: mshtml-sessionStorage.ok
mshtml-sessionStorage.ok:
	$(call APPLY_FILE,mshtml-sessionStorage/0001-mshtml-Added-nsIDOMStorage-declaration.patch)
	$(call APPLY_FILE,mshtml-sessionStorage/0002-mshtml-Fixed-create_storage-and-IHTMLStorage-Release.patch)
	$(call APPLY_FILE,mshtml-sessionStorage/0003-mshtml-Added-IHTMLStorage-getItem-setItem-methods-im.patch)
	@( \
		echo '+    { "mshtml-sessionStorage", "Zhenbo Li", "Implement sessionStorage (partially)." },'; \
	) > mshtml-sessionStorage.ok

# Patchset msi-Transform_ProductVersion
# |
# | Included patches:
# |   *	Update ProductVersion property when applying MSI transforms. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#37493] Update ProductVersion property when applying MSI transforms
# |
# | Modified files:
# |   *	dlls/msi/patch.c
# |
.INTERMEDIATE: msi-Transform_ProductVersion.ok
msi-Transform_ProductVersion.ok:
	$(call APPLY_FILE,msi-Transform_ProductVersion/0001-msi-Update-ProductVersion-property-when-applying-tra.patch)
	@( \
		echo '+    { "msi-Transform_ProductVersion", "Sebastian Lackner", "Update ProductVersion property when applying MSI transforms." },'; \
	) > msi-Transform_ProductVersion.ok

# Patchset msvcp90-basic_string_wchar_dtor
# |
# | Included patches:
# |   *	basic_string_wchar_dtor needs to return NULL. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#37358] FEAR 1 installer expects basic_string_wchar_dtor to return NULL
# |
# | Modified files:
# |   *	dlls/msvcp90/msvcp90.h, dlls/msvcp90/string.c, dlls/msvcp90/tests/string.c
# |
.INTERMEDIATE: msvcp90-basic_string_wchar_dtor.ok
msvcp90-basic_string_wchar_dtor.ok:
	$(call APPLY_FILE,msvcp90-basic_string_wchar_dtor/0001-msvcp90-basic_string_wchar_dtor-needs-to-return-NULL.patch)
	$(call APPLY_FILE,msvcp90-basic_string_wchar_dtor/0002-msvcp90-tests-Add-tests-to-check-that-basic_string_w.patch)
	@( \
		echo '+    { "msvcp90-basic_string_wchar_dtor", "Michael Müller", "basic_string_wchar_dtor needs to return NULL." },'; \
	) > msvcp90-basic_string_wchar_dtor.ok

# Patchset ntdll-DOS_Attributes
# |
# | Included patches:
# |   *	Implement DOS hidden/system file attributes [by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#9158] Support for DOS hidden/system file attributes
# |
# | Modified files:
# |   *	configure.ac, dlls/ntdll/directory.c, dlls/ntdll/file.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/tests/directory.c,
# | 	dlls/ntdll/tests/file.c, include/wine/port.h, libs/port/Makefile.in, libs/port/xattr.c
# |
.INTERMEDIATE: ntdll-DOS_Attributes.ok
ntdll-DOS_Attributes.ok:
	$(call APPLY_FILE,ntdll-DOS_Attributes/0001-ntdll-Unify-retrieving-the-attributes-of-a-file.patch)
	$(call APPLY_FILE,ntdll-DOS_Attributes/0002-ntdll-Implement-retrieving-DOS-attributes-in-NtQuery.patch)
	$(call APPLY_FILE,ntdll-DOS_Attributes/0003-ntdll-Implement-retrieving-DOS-attributes-in-NtQuery.patch)
	$(call APPLY_FILE,ntdll-DOS_Attributes/0004-ntdll-Implement-storing-DOS-attributes-in-NtSetInfor.patch)
	$(call APPLY_FILE,ntdll-DOS_Attributes/0005-ntdll-Implement-storing-DOS-attributes-in-NtCreateFi.patch)
	$(call APPLY_FILE,ntdll-DOS_Attributes/0006-libport-Add-support-for-Mac-OS-X-style-extended-attr.patch)
	$(call APPLY_FILE,ntdll-DOS_Attributes/0007-libport-Add-support-for-FreeBSD-style-extended-attri.patch)
	$(call APPLY_FILE,ntdll-DOS_Attributes/0008-ntdll-Perform-the-Unix-style-hidden-file-check-withi.patch)
	@( \
		echo '+    { "ntdll-DOS_Attributes", "Erich E. Hoover", "Implement DOS hidden/system file attributes" },'; \
	) > ntdll-DOS_Attributes.ok

# Patchset ntdll-Dynamic_DST
# |
# | Included patches:
# |   *	Add support for Dynamic DST (daylight saving time) information in registry. [by Michael Müller]
# |   *	Add Dynamic DST exceptions for Israel Standard Time. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#36374] Add Dynamic DST exceptions for Israel Standard Time
# |
# | Modified files:
# |   *	dlls/ntdll/time.c, loader/wine.inf.in
# |
.INTERMEDIATE: ntdll-Dynamic_DST.ok
ntdll-Dynamic_DST.ok:
	$(call APPLY_FILE,ntdll-Dynamic_DST/0001-ntdll-Add-support-for-Dynamic-DST-daylight-saving-ti.patch)
	$(call APPLY_FILE,ntdll-Dynamic_DST/0002-wine.inf-Add-Dynamic-DST-exceptions-for-Israel-Stand.patch)
	@( \
		echo '+    { "ntdll-Dynamic_DST", "Michael Müller", "Add support for Dynamic DST (daylight saving time) information in registry." },'; \
		echo '+    { "ntdll-Dynamic_DST", "Sebastian Lackner", "Add Dynamic DST exceptions for Israel Standard Time." },'; \
	) > ntdll-Dynamic_DST.ok

# Patchset ntdll-Exception
# |
# | Included patches:
# |   *	Fix some differences in exception handling behaviour between Wine and Windows. [by Sebastian Lackner]
# |
# | Modified files:
# |   *	dlls/kernel32/debugger.c, dlls/ntdll/om.c, dlls/ntdll/tests/exception.c
# |
.INTERMEDIATE: ntdll-Exception.ok
ntdll-Exception.ok:
	$(call APPLY_FILE,ntdll-Exception/0001-ntdll-Throw-exception-if-invalid-handle-is-passed-to.patch)
	$(call APPLY_FILE,ntdll-Exception/0002-ntdll-OutputDebugString-should-throw-the-exception-a.patch)
	@( \
		echo '+    { "ntdll-Exception", "Sebastian Lackner", "Fix some differences in exception handling behaviour between Wine and Windows." },'; \
	) > ntdll-Exception.ok

# Patchset ntdll-FD_Cache
# |
# | Included patches:
# |   *	Use lockfree implementation for get_cached_fd. [rev 4, by Sebastian Lackner]
# |
# | Modified files:
# |   *	dlls/ntdll/server.c
# |
.INTERMEDIATE: ntdll-FD_Cache.ok
ntdll-FD_Cache.ok:
	$(call APPLY_FILE,ntdll-FD_Cache/0001-ntdll-Use-lockfree-implementation-for-get_cached_fd.patch)
	@( \
		echo '+    { "ntdll-FD_Cache", "Sebastian Lackner", "Use lockfree implementation for get_cached_fd. [rev 4]" },'; \
	) > ntdll-FD_Cache.ok

# Patchset ntdll-FileDispositionInformation
# |
# | Included patches:
# |   *	Add support for setting file disposition information. [by Dmitry Timoshkov / Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#30397] Support for NtSetInformationFile class FileDispositionInformation
# |
# | Modified files:
# |   *	dlls/ntdll/file.c, dlls/ntdll/tests/file.c, server/fd.c, server/file.c, server/file.h, server/protocol.def
# |
.INTERMEDIATE: ntdll-FileDispositionInformation.ok
ntdll-FileDispositionInformation.ok:
	$(call APPLY_FILE,ntdll-FileDispositionInformation/0001-server-Keep-a-pointer-to-parent-s-fd-unix_name-in-th.patch)
	$(call APPLY_FILE,ntdll-FileDispositionInformation/0002-server-Add-support-for-setting-file-disposition-info.patch)
	$(call APPLY_FILE,ntdll-FileDispositionInformation/0003-server-Do-not-permit-FileDispositionInformation-to-d.patch)
	@( \
		echo '+    { "ntdll-FileDispositionInformation", "Dmitry Timoshkov / Erich E. Hoover", "Add support for setting file disposition information." },'; \
	) > ntdll-FileDispositionInformation.ok

# Patchset ntdll-Fix_Alignment
# |
# | Included patches:
# |   *	Move NtProtectVirtualMemory and NtCreateSection to separate pages in ntdll on x86. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#33162] Ensure NtProtectVirtualMemory and NtCreateSection are on separate pages
# |
# | Modified files:
# |   *	dlls/ntdll/virtual.c
# |
.INTERMEDIATE: ntdll-Fix_Alignment.ok
ntdll-Fix_Alignment.ok:
	$(call APPLY_FILE,ntdll-Fix_Alignment/0001-ntdll-Move-NtProtectVirtualMemory-and-NtCreateSectio.patch)
	@( \
		echo '+    { "ntdll-Fix_Alignment", "Michael Müller", "Move NtProtectVirtualMemory and NtCreateSection to separate pages in ntdll on x86." },'; \
	) > ntdll-Fix_Alignment.ok

# Patchset ntdll-Fix_Free
# |
# | Included patches:
# |   *	Fix unintentional leaks with ntdll internals [rev 2, by Erich E. Hoover]
# |
# | Modified files:
# |   *	dlls/kernel32/path.c
# |
.INTERMEDIATE: ntdll-Fix_Free.ok
ntdll-Fix_Free.ok:
	$(call APPLY_FILE,ntdll-Fix_Free/0001-kernel32-Fix-leaking-directory-handle-in-RemoveDirec.patch)
	@( \
		echo '+    { "ntdll-Fix_Free", "Erich E. Hoover", "Fix unintentional leaks with ntdll internals [rev 2]" },'; \
	) > ntdll-Fix_Free.ok

# Patchset ntdll-Heap_FreeLists
# |
# | Included patches:
# |   *	Improve heap allocation performance by using more fine-grained free lists. [by Steaphan Greene]
# |
# | Modified files:
# |   *	dlls/ntdll/heap.c
# |
.INTERMEDIATE: ntdll-Heap_FreeLists.ok
ntdll-Heap_FreeLists.ok:
	$(call APPLY_FILE,ntdll-Heap_FreeLists/0001-ntdll-Improve-heap-allocation-performance-by-using-m.patch)
	@( \
		echo '+    { "ntdll-Heap_FreeLists", "Steaphan Greene", "Improve heap allocation performance by using more fine-grained free lists." },'; \
	) > ntdll-Heap_FreeLists.ok

# Patchset ntdll-Junction_Points
# |
# | Included patches:
# |   *	Support for junction points/reparse points. [by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#12401] Support for Junction Points
# |
# | Modified files:
# |   *	dlls/kernel32/path.c, dlls/kernel32/volume.c, dlls/ntdll/file.c, dlls/ntdll/tests/file.c, include/ntifs.h
# |
.INTERMEDIATE: ntdll-Junction_Points.ok
ntdll-Junction_Points.ok: ntdll-Fix_Free.ok
	$(call APPLY_FILE,ntdll-Junction_Points/0001-ntdll-Add-support-for-junction-point-creation.patch)
	$(call APPLY_FILE,ntdll-Junction_Points/0002-ntdll-Add-support-for-reading-junction-points.patch)
	$(call APPLY_FILE,ntdll-Junction_Points/0003-ntdll-Add-support-for-deleting-junction-points.patch)
	$(call APPLY_FILE,ntdll-Junction_Points/0004-ntdll-Add-a-test-for-junction-point-advertisement.patch)
	$(call APPLY_FILE,ntdll-Junction_Points/0005-kernel32-ntdll-Add-support-for-deleting-junction-poi.patch)
	$(call APPLY_FILE,ntdll-Junction_Points/0006-kernel32-Advertise-junction-point-support.patch)
	$(call APPLY_FILE,ntdll-Junction_Points/0007-ntdll-tests-Add-test-for-deleting-junction-point-tar.patch)
	@( \
		echo '+    { "ntdll-Junction_Points", "Erich E. Hoover", "Support for junction points/reparse points." },'; \
	) > ntdll-Junction_Points.ok

# Patchset ntdll-LZNT1_Compression
# |
# | Included patches:
# |   *	Implement Rtl[Decompress|Compress]Buffer and RtlGetCompressionWorkSpaceSize. [by Sebastian Lackner / Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#37449] Support for RtlDecompressBuffer
# |
# | Modified files:
# |   *	dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, dlls/ntdll/tests/rtl.c, include/winnt.h
# |
.INTERMEDIATE: ntdll-LZNT1_Compression.ok
ntdll-LZNT1_Compression.ok:
	$(call APPLY_FILE,ntdll-LZNT1_Compression/0001-ntdll-Implement-semi-stub-for-RtlGetCompressionWorkS.patch)
	$(call APPLY_FILE,ntdll-LZNT1_Compression/0002-ntdll-Implement-semi-stub-for-RtlCompressBuffer.patch)
	$(call APPLY_FILE,ntdll-LZNT1_Compression/0003-ntdll-Implement-LZNT1-algorithm-for-RtlDecompressBuf.patch)
	$(call APPLY_FILE,ntdll-LZNT1_Compression/0004-ntdll-tests-Add-tests-for-Rtl-Decompress-Compress-Bu.patch)
	@( \
		echo '+    { "ntdll-LZNT1_Compression", "Sebastian Lackner / Michael Müller", "Implement Rtl[Decompress|Compress]Buffer and RtlGetCompressionWorkSpaceSize." },'; \
	) > ntdll-LZNT1_Compression.ok

# Patchset ntdll-NtQuerySection
# |
# | Included patches:
# |   *	Implement NtQuerySection class SectionBasicInformation. [rev 2, by Dmitry Timoshkov]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#37338] Support for NtQuerySection
# |
# | Modified files:
# |   *	dlls/kernel32/tests/virtual.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/virtual.c, include/winternl.h,
# | 	server/mapping.c, server/protocol.def
# |
.INTERMEDIATE: ntdll-NtQuerySection.ok
ntdll-NtQuerySection.ok:
	$(call APPLY_FILE,ntdll-NtQuerySection/0001-include-Fix-definition-of-SECTION_BASIC_INFORMATION-.patch)
	$(call APPLY_FILE,ntdll-NtQuerySection/0002-ntdll-Implement-NtQuerySection.patch)
	$(call APPLY_FILE,ntdll-NtQuerySection/0003-kernel32-tests-Add-tests-for-NtQuerySection.patch)
	@( \
		echo '+    { "ntdll-NtQuerySection", "Dmitry Timoshkov", "Implement NtQuerySection class SectionBasicInformation. [rev 2]" },'; \
	) > ntdll-NtQuerySection.ok

# Patchset ntdll-Pipe_SpecialCharacters
# |
# | Included patches:
# |   *	Allow special characters in pipe names. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#28995] Allow special characters in pipe names
# |
# | Modified files:
# |   *	dlls/kernel32/tests/pipe.c, dlls/ntdll/directory.c
# |
.INTERMEDIATE: ntdll-Pipe_SpecialCharacters.ok
ntdll-Pipe_SpecialCharacters.ok:
	$(call APPLY_FILE,ntdll-Pipe_SpecialCharacters/0001-ntdll-Allow-special-characters-in-pipe-names.patch)
	@( \
		echo '+    { "ntdll-Pipe_SpecialCharacters", "Michael Müller", "Allow special characters in pipe names." },'; \
	) > ntdll-Pipe_SpecialCharacters.ok

# Patchset ntdll-WRITECOPY
# |
# | Included patches:
# |   *	Change WRITECOPY memory protection to WRITE on first write. [rev 4, by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#29384] Voobly expects correct handling of WRITECOPY memory protection
# |
# | Modified files:
# |   *	dlls/advapi32/crypt.c, dlls/kernel32/tests/virtual.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c,
# | 	dlls/ntdll/signal_arm.c, dlls/ntdll/signal_arm64.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c,
# | 	dlls/ntdll/signal_x86_64.c, dlls/ntdll/thread.c, dlls/ntdll/virtual.c
# |
.INTERMEDIATE: ntdll-WRITECOPY.ok
ntdll-WRITECOPY.ok:
	$(call APPLY_FILE,ntdll-WRITECOPY/0001-ntdll-Trigger-write-watches-before-passing-userdata-.patch)
	$(call APPLY_FILE,ntdll-WRITECOPY/0002-advapi-Trigger-write-watches-before-passing-userdata.patch)
	$(call APPLY_FILE,ntdll-WRITECOPY/0003-ntdll-Setup-a-temporary-signal-handler-during-proces.patch)
	$(call APPLY_FILE,ntdll-WRITECOPY/0004-ntdll-Properly-handle-PAGE_WRITECOPY-protection.patch)
	$(call APPLY_FILE,ntdll-WRITECOPY/0005-ntdll-Only-enable-true-WRITECOPY-protection-when-a-s.patch)
	@( \
		echo '+    { "ntdll-WRITECOPY", "Michael Müller", "Change WRITECOPY memory protection to WRITE on first write. [rev 4]" },'; \
	) > ntdll-WRITECOPY.ok

# Patchset ntoskrnl-Irp_Status
# |
# | Included patches:
# |   *	Handle issues when driver returns two different status codes from dispatcher. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#30155] Fix issues when driver dispatch routine returns different status codes
# |
# | Modified files:
# |   *	dlls/ntoskrnl.exe/ntoskrnl.c
# |
.INTERMEDIATE: ntoskrnl-Irp_Status.ok
ntoskrnl-Irp_Status.ok:
	$(call APPLY_FILE,ntoskrnl-Irp_Status/0001-ntoskrnl-Handle-issues-when-driver-returns-two-diffe.patch)
	@( \
		echo '+    { "ntoskrnl-Irp_Status", "Sebastian Lackner", "Handle issues when driver returns two different status codes from dispatcher." },'; \
	) > ntoskrnl-Irp_Status.ok

# Patchset ntoskrnl-Write_CR4
# |
# | Included patches:
# |   *	Emulate write to CR4 register. [by Stefan Leichter]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#30220] Emulate write to CR4 register
# |
# | Modified files:
# |   *	dlls/ntoskrnl.exe/instr.c
# |
.INTERMEDIATE: ntoskrnl-Write_CR4.ok
ntoskrnl-Write_CR4.ok:
	$(call APPLY_FILE,ntoskrnl-Write_CR4/0001-ntoskrnl.exe-Emulate-write-to-CR4-register.patch)
	@( \
		echo '+    { "ntoskrnl-Write_CR4", "Stefan Leichter", "Emulate write to CR4 register." },'; \
	) > ntoskrnl-Write_CR4.ok

# Patchset oleaut32-TLB_Resource
# |
# | Included patches:
# |   *	Implement TLB dependencies lookup in resources. [by Guillaume Charifi]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#34184] Support for TLB dependencies lookup in resources
# |
# | Modified files:
# |   *	dlls/oleaut32/tests/typelib.c, dlls/oleaut32/typelib.c
# |
.INTERMEDIATE: oleaut32-TLB_Resource.ok
oleaut32-TLB_Resource.ok:
	$(call APPLY_FILE,oleaut32-TLB_Resource/0001-oleaut32-Implement-TLB-dependencies-lookup-in-resour.patch)
	@( \
		echo '+    { "oleaut32-TLB_Resource", "Guillaume Charifi", "Implement TLB dependencies lookup in resources." },'; \
	) > oleaut32-TLB_Resource.ok

# Patchset quartz-MediaSeeking_Positions
# |
# | Included patches:
# |   *	Return correct IMediaSeeking stream positions in quartz. [by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#23174] Return correct IMediaSeeking stream positions in quartz
# |
# | Modified files:
# |   *	dlls/quartz/filtergraph.c
# |
.INTERMEDIATE: quartz-MediaSeeking_Positions.ok
quartz-MediaSeeking_Positions.ok:
	$(call APPLY_FILE,quartz-MediaSeeking_Positions/0001-quartz-Include-the-stream-position-in-addition-to-th.patch)
	$(call APPLY_FILE,quartz-MediaSeeking_Positions/0002-quartz-Implement-MediaSeeking_GetCurrentPosition-on-.patch)
	$(call APPLY_FILE,quartz-MediaSeeking_Positions/0003-quartz-Implement-MediaSeeking_GetStopPosition-on-top.patch)
	$(call APPLY_FILE,quartz-MediaSeeking_Positions/0004-quartz-Remove-unused-cache-of-MediaSeeking-stop-posi.patch)
	@( \
		echo '+    { "quartz-MediaSeeking_Positions", "Erich E. Hoover", "Return correct IMediaSeeking stream positions in quartz." },'; \
	) > quartz-MediaSeeking_Positions.ok

# Patchset riched20-IText_Interface
# |
# | Included patches:
# |   *	Implement Stubs for ITextRange interface. [rev 3, by Jactry Zeng]
# |   *	Implement Stubs for ITextFont interface. [rev 2, by Jactry Zeng]
# |   *	Implement Stubs for ITextPara interface. [rev 2, by Jactry Zeng]
# |   *	Implement ITextRange/Selection::{GetChar,GetStart,GetEnd,GetDuplicate,Collapse,SetStart,SetEnd}. [by Jactry Zeng]
# |   *	Implement ITextRange/Selection::{GetText,SetRange,IsEqual,GetStoryLength}. [by Jactry Zeng]
# |   *	Implement ITextSelection_fnGetDuplicate. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#12458] Support for ITextDocument_fnRange function
# |   *	[#18303] Support for ITextRange, ITextFont and ITextPara
# |
# | Modified files:
# |   *	dlls/riched20/richole.c, dlls/riched20/run.c, dlls/riched20/tests/richole.c
# |
.INTERMEDIATE: riched20-IText_Interface.ok
riched20-IText_Interface.ok:
	$(call APPLY_FILE,riched20-IText_Interface/0001-riched20-Implement-IText-Selection-Range-Set-Start-E.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0002-riched20-Stub-for-ITextFont-interface-and-implement-.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0003-riched20-Stub-for-ITextPara-interface-and-implement-.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0004-riched20-Fix-ME_RunOfsFromCharOfs-when-nCharOfs-strl.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0005-riched20-Implement-ITextRange-GetText.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0006-riched20-Implement-ITextRange-SetRange.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0007-riched20-Implement-ITextRange-IsEqual.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0008-riched20-Implement-ITextRange-GetStoryLength.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0009-riched20-Implement-ITextSelection-GetStoryLength.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0010-riched20-Fix-invalid-memory-access-when-parent-objec.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0011-riched20-Silence-repeated-FIXMEs-triggered-by-Adobe-.patch)
	$(call APPLY_FILE,riched20-IText_Interface/0012-riched20-Implement-ITextSelection_fnGetDuplicate.patch)
	@( \
		echo '+    { "riched20-IText_Interface", "Jactry Zeng", "Implement Stubs for ITextRange interface. [rev 3]" },'; \
		echo '+    { "riched20-IText_Interface", "Jactry Zeng", "Implement Stubs for ITextFont interface. [rev 2]" },'; \
		echo '+    { "riched20-IText_Interface", "Jactry Zeng", "Implement Stubs for ITextPara interface. [rev 2]" },'; \
		echo '+    { "riched20-IText_Interface", "Jactry Zeng", "Implement ITextRange/Selection::{GetChar,GetStart,GetEnd,GetDuplicate,Collapse,SetStart,SetEnd}." },'; \
		echo '+    { "riched20-IText_Interface", "Jactry Zeng", "Implement ITextRange/Selection::{GetText,SetRange,IsEqual,GetStoryLength}." },'; \
		echo '+    { "riched20-IText_Interface", "Sebastian Lackner", "Implement ITextSelection_fnGetDuplicate." },'; \
	) > riched20-IText_Interface.ok

# Patchset server-ACL_Compat
# |
# | Included patches:
# |   *	Compatibility patch for old method of storing extended file system attributes. [rev 6, by Erich E. Hoover]
# |
# | Modified files:
# |   *	server/file.c
# |
.INTERMEDIATE: server-ACL_Compat.ok
server-ACL_Compat.ok: server-Inherited_ACLs.ok
	$(call APPLY_FILE,server-ACL_Compat/0001-server-Add-compatibility-code-for-handling-the-old-m.patch)
	@( \
		echo '+    { "server-ACL_Compat", "Erich E. Hoover", "Compatibility patch for old method of storing extended file system attributes. [rev 6]" },'; \
	) > server-ACL_Compat.ok

# Patchset server-Address_Change_Notification
# |
# | Included patches:
# |   *	Implement SIO_ADDRESS_LIST_CHANGE. [rev 2, by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#32328] Support for interface change notifications
# |
# | Modified files:
# |   *	Makefile.in, dlls/ws2_32/tests/sock.c, server/event.c, server/named_pipe.c, server/object.h, server/sock.c
# |
.INTERMEDIATE: server-Address_Change_Notification.ok
server-Address_Change_Notification.ok:
	$(call APPLY_FILE,server-Address_Change_Notification/0001-server-Implement-socket-specific-ioctl-routine.patch)
	$(call APPLY_FILE,server-Address_Change_Notification/0002-server-Add-socket-side-support-for-the-interface-cha.patch)
	$(call APPLY_FILE,server-Address_Change_Notification/0003-server-Add-blocked-support-for-SIO_ADDRESS_LIST_CHAN.patch)
	$(call APPLY_FILE,server-Address_Change_Notification/0004-server-Implement-the-interface-change-notification-o.patch)
	$(call APPLY_FILE,server-Address_Change_Notification/0005-ws2_32-Add-an-interactive-test-for-interface-change-.patch)
	@( \
		echo '+    { "server-Address_Change_Notification", "Erich E. Hoover", "Implement SIO_ADDRESS_LIST_CHANGE. [rev 2]" },'; \
	) > server-Address_Change_Notification.ok

# Patchset server-CreateProcess_ACLs
# |
# | Included patches:
# |   *	Implement passing ACLs to CreateProcess. [rev 2, by Joris van der Wel / Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#22006] Support for process ACLs
# |
# | Modified files:
# |   *	dlls/advapi32/tests/security.c, dlls/kernel32/process.c, server/process.c, server/protocol.def
# |
.INTERMEDIATE: server-CreateProcess_ACLs.ok
server-CreateProcess_ACLs.ok:
	$(call APPLY_FILE,server-CreateProcess_ACLs/0001-server-Support-for-thread-and-process-security-descr.patch)
	$(call APPLY_FILE,server-CreateProcess_ACLs/0002-kernel32-Implement-passing-security-descriptors-from.patch)
	$(call APPLY_FILE,server-CreateProcess_ACLs/0003-advapi32-tests-Add-additional-tests-for-passing-a-th.patch)
	@( \
		echo '+    { "server-CreateProcess_ACLs", "Joris van der Wel / Sebastian Lackner", "Implement passing ACLs to CreateProcess. [rev 2]" },'; \
	) > server-CreateProcess_ACLs.ok

# Patchset server-Inherited_ACLs
# |
# | Included patches:
# |   *	Add support for inherited security attributes. [rev 7, by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#34406] Support for inherited file ACLs
# |
# | Modified files:
# |   *	dlls/advapi32/tests/security.c, include/winnt.h, server/fd.c, server/file.c, server/file.h
# |
.INTERMEDIATE: server-Inherited_ACLs.ok
server-Inherited_ACLs.ok: server-Stored_ACLs.ok
	$(call APPLY_FILE,server-Inherited_ACLs/0001-server-Inherit-security-attributes-from-parent-direc.patch)
	$(call APPLY_FILE,server-Inherited_ACLs/0002-server-Inherit-security-attributes-from-parent-direc.patch)
	@( \
		echo '+    { "server-Inherited_ACLs", "Erich E. Hoover", "Add support for inherited security attributes. [rev 7]" },'; \
	) > server-Inherited_ACLs.ok

# Patchset server-Misc_ACL
# |
# | Included patches:
# |   *	Add default security descriptor ownership and DACLs for processes. [by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#15980] GetSecurityInfo returns NULL DACL for process object
# |
# | Modified files:
# |   *	dlls/advapi32/tests/security.c, server/process.c, server/security.h, server/token.c
# |
.INTERMEDIATE: server-Misc_ACL.ok
server-Misc_ACL.ok:
	$(call APPLY_FILE,server-Misc_ACL/0001-server-Add-default-security-descriptor-ownership-for.patch)
	$(call APPLY_FILE,server-Misc_ACL/0002-server-Add-default-security-descriptor-DACL-for-proc.patch)
	@( \
		echo '+    { "server-Misc_ACL", "Erich E. Hoover", "Add default security descriptor ownership and DACLs for processes." },'; \
	) > server-Misc_ACL.ok

# Patchset server-OpenProcess
# |
# | Included patches:
# |   *	Return error when opening a terminating process. [rev 3, by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#37087] Return an error when trying to open a terminated process
# |
# | Modified files:
# |   *	server/process.c, server/process.h
# |
.INTERMEDIATE: server-OpenProcess.ok
server-OpenProcess.ok:
	$(call APPLY_FILE,server-OpenProcess/0001-server-Return-error-when-opening-a-terminating-proce.patch)
	@( \
		echo '+    { "server-OpenProcess", "Michael Müller", "Return error when opening a terminating process. [rev 3]" },'; \
	) > server-OpenProcess.ok

# Patchset server-Stored_ACLs
# |
# | Included patches:
# |   *	Store and return security attributes with extended file attributes. [rev 7, by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#31858] Support for stored file ACLs
# |
# | Modified files:
# |   *	dlls/advapi32/tests/security.c, include/wine/port.h, server/change.c, server/file.c, server/file.h
# |
.INTERMEDIATE: server-Stored_ACLs.ok
server-Stored_ACLs.ok: ntdll-DOS_Attributes.ok
	$(call APPLY_FILE,server-Stored_ACLs/0001-server-Unify-the-storage-of-security-attributes-for-.patch)
	$(call APPLY_FILE,server-Stored_ACLs/0002-server-Unify-the-retrieval-of-security-attributes-fo.patch)
	$(call APPLY_FILE,server-Stored_ACLs/0003-server-Store-file-security-attributes-with-extended-.patch)
	$(call APPLY_FILE,server-Stored_ACLs/0004-server-Store-user-and-group-inside-stored-extended-f.patch)
	$(call APPLY_FILE,server-Stored_ACLs/0005-server-Retrieve-file-security-attributes-with-extend.patch)
	$(call APPLY_FILE,server-Stored_ACLs/0006-server-Convert-return-of-file-security-masks-with-ge.patch)
	@( \
		echo '+    { "server-Stored_ACLs", "Erich E. Hoover", "Store and return security attributes with extended file attributes. [rev 7]" },'; \
	) > server-Stored_ACLs.ok

# Patchset setupapi-SetupPromptForDisk
# |
# | Included patches:
# |   *	Add support for IDF_CHECKFIRST flag in SetupPromptForDiskW. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#20465] Wine ignores IDF_CHECKFIRST flag in SetupPromptForDisk
# |
# | Modified files:
# |   *	dlls/setupapi/dialog.c, dlls/setupapi/tests/Makefile.in, dlls/setupapi/tests/dialog.c
# |
.INTERMEDIATE: setupapi-SetupPromptForDisk.ok
setupapi-SetupPromptForDisk.ok:
	$(call APPLY_FILE,setupapi-SetupPromptForDisk/0001-setupapi-Add-support-for-IDF_CHECKFIRST-flag-in-Setu.patch)
	$(call APPLY_FILE,setupapi-SetupPromptForDisk/0002-setupapi-tests-Add-test-for-IDF_CHECKFIRST-and-Setup.patch)
	@( \
		echo '+    { "setupapi-SetupPromptForDisk", "Michael Müller", "Add support for IDF_CHECKFIRST flag in SetupPromptForDiskW." },'; \
	) > setupapi-SetupPromptForDisk.ok

# Patchset shdocvw-ParseURLFromOutsideSource_Tests
# |
# | Included patches:
# |   *	Check for exact return values in ParseURLFromOutsideSourceX tests. [by Christian Costa]
# |
# | Modified files:
# |   *	dlls/shdocvw/shdocvw_main.c, dlls/shdocvw/tests/shdocvw.c
# |
.INTERMEDIATE: shdocvw-ParseURLFromOutsideSource_Tests.ok
shdocvw-ParseURLFromOutsideSource_Tests.ok:
	$(call APPLY_FILE,shdocvw-ParseURLFromOutsideSource_Tests/0001-shdocvw-Check-precisely-ParseURLFromOutsideSourceX-r.patch)
	@( \
		echo '+    { "shdocvw-ParseURLFromOutsideSource_Tests", "Christian Costa", "Check for exact return values in ParseURLFromOutsideSourceX tests." },'; \
	) > shdocvw-ParseURLFromOutsideSource_Tests.ok

# Patchset shell32-Default_Folder_ACLs
# |
# | Included patches:
# |   *	Generate default ACLs for user shell folders. [rev 7, by Sebastian Lackner]
# |
# | Modified files:
# |   *	dlls/shell32/shellpath.c
# |
.INTERMEDIATE: shell32-Default_Folder_ACLs.ok
shell32-Default_Folder_ACLs.ok:
	$(call APPLY_FILE,shell32-Default_Folder_ACLs/0001-shell32-Set-the-default-security-attributes-for-user.patch)
	@( \
		echo '+    { "shell32-Default_Folder_ACLs", "Sebastian Lackner", "Generate default ACLs for user shell folders. [rev 7]" },'; \
	) > shell32-Default_Folder_ACLs.ok

# Patchset shell32-Default_Path
# |
# | Included patches:
# |   *	Implement KF_FLAG_DEFAULT_PATH flag for SHGetKnownFolderPath. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#30385] Support for KF_FLAG_DEFAULT_PATH in SHGetKnownFolderPath
# |
# | Modified files:
# |   *	dlls/shell32/shellpath.c, dlls/shell32/tests/shellpath.c
# |
.INTERMEDIATE: shell32-Default_Path.ok
shell32-Default_Path.ok:
	$(call APPLY_FILE,shell32-Default_Path/0001-shell32-Implement-KF_FLAG_DEFAULT_PATH-flag-for-SHGe.patch)
	@( \
		echo '+    { "shell32-Default_Path", "Sebastian Lackner", "Implement KF_FLAG_DEFAULT_PATH flag for SHGetKnownFolderPath." },'; \
	) > shell32-Default_Path.ok

# Patchset shell32-Icons
# |
# | Included patches:
# |   *	Add support for extra large and jumbo icon lists in shell32. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#24721] Support for extra large and jumbo icon lists in shell32
# |
# | Modified files:
# |   *	dlls/shell32/iconcache.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c
# |
.INTERMEDIATE: shell32-Icons.ok
shell32-Icons.ok:
	$(call APPLY_FILE,shell32-Icons/0001-shell32-Add-support-for-extra-large-and-jumbo-icon-l.patch)
	@( \
		echo '+    { "shell32-Icons", "Michael Müller", "Add support for extra large and jumbo icon lists in shell32." },'; \
	) > shell32-Icons.ok

# Patchset shell32-RunDLL_CallEntry16
# |
# | Included patches:
# |   *	Manually relay RunDLL_CallEntry16 to make Tages Protection v5 happy. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#23033] Use manual relay for RunDLL_CallEntry16 in shell32
# |
# | Modified files:
# |   *	dlls/shell32/control.c, dlls/shell32/shell32.spec
# |
.INTERMEDIATE: shell32-RunDLL_CallEntry16.ok
shell32-RunDLL_CallEntry16.ok:
	$(call APPLY_FILE,shell32-RunDLL_CallEntry16/0001-shell32-Use-manual-redirection-for-RunDLL_CallEntry1.patch)
	@( \
		echo '+    { "shell32-RunDLL_CallEntry16", "Michael Müller", "Manually relay RunDLL_CallEntry16 to make Tages Protection v5 happy." },'; \
	) > shell32-RunDLL_CallEntry16.ok

# Patchset shell32-SHCreateSessionKey
# |
# | Included patches:
# |   *	shell32: Implement SHCreateSessionKey. [by Dmitry Timoshkov]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#35630] Support for SHCreateSessionKey
# |
# | Modified files:
# |   *	dlls/shell32/shell32.spec, dlls/shell32/shellreg.c
# |
.INTERMEDIATE: shell32-SHCreateSessionKey.ok
shell32-SHCreateSessionKey.ok:
	$(call APPLY_FILE,shell32-SHCreateSessionKey/0001-shell32-Implement-SHCreateSessionKey.patch)
	@( \
		echo '+    { "shell32-SHCreateSessionKey", "Dmitry Timoshkov", "shell32: Implement SHCreateSessionKey." },'; \
	) > shell32-SHCreateSessionKey.ok

# Patchset shell32-SHFileOperation
# |
# | Included patches:
# |   *	Choose return value for SHFileOperationW depending on windows version. [by Michael Müller]
# |
# | Modified files:
# |   *	dlls/shell32/shlfileop.c
# |
.INTERMEDIATE: shell32-SHFileOperation.ok
shell32-SHFileOperation.ok:
	$(call APPLY_FILE,shell32-SHFileOperation/0001-shell32-Choose-return-value-for-SHFileOperationW-dep.patch)
	@( \
		echo '+    { "shell32-SHFileOperation", "Michael Müller", "Choose return value for SHFileOperationW depending on windows version." },'; \
	) > shell32-SHFileOperation.ok

# Patchset shlwapi-PathIsDirectoryEmptyW
# |
# | Included patches:
# |   *	Correctly treat '.' when enumerating files in PathIsDirectoryEmptyW. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#26272] Correctly treat '.' when checking for empty directories
# |
# | Modified files:
# |   *	dlls/shlwapi/path.c
# |
.INTERMEDIATE: shlwapi-PathIsDirectoryEmptyW.ok
shlwapi-PathIsDirectoryEmptyW.ok:
	$(call APPLY_FILE,shlwapi-PathIsDirectoryEmptyW/0001-shlwapi-Correctly-treat-.-when-enumerating-files-in-.patch)
	@( \
		echo '+    { "shlwapi-PathIsDirectoryEmptyW", "Michael Müller", "Correctly treat '\''.'\'' when enumerating files in PathIsDirectoryEmptyW." },'; \
	) > shlwapi-PathIsDirectoryEmptyW.ok

# Patchset shlwapi-UrlCombine
# |
# | Included patches:
# |   *	Workaround for broken implementation of shlwapi url functions. [by Sebastian Lackner]
# |
# | Modified files:
# |   *	dlls/shlwapi/tests/url.c, dlls/shlwapi/url.c
# |
.INTERMEDIATE: shlwapi-UrlCombine.ok
shlwapi-UrlCombine.ok:
	$(call APPLY_FILE,shlwapi-UrlCombine/0001-shlwapi-tests-Add-additional-tests-for-UrlCombine-and-.patch)
	$(call APPLY_FILE,shlwapi-UrlCombine/0002-shlwapi-UrlCombineW-workaround-for-relative-paths.patch)
	@( \
		echo '+    { "shlwapi-UrlCombine", "Sebastian Lackner", "Workaround for broken implementation of shlwapi url functions." },'; \
	) > shlwapi-UrlCombine.ok

# Patchset user32-Dialog_Paint_Event
# |
# | Included patches:
# |   *	Call UpdateWindow during DIALOG_CreateIndirect. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#35652] Send WM_PAINT event during dialog creation
# |
# | Modified files:
# |   *	dlls/user32/dialog.c
# |
.INTERMEDIATE: user32-Dialog_Paint_Event.ok
user32-Dialog_Paint_Event.ok:
	$(call APPLY_FILE,user32-Dialog_Paint_Event/0001-user32-Call-UpdateWindow-during-DIALOG_CreateIndirec.patch)
	@( \
		echo '+    { "user32-Dialog_Paint_Event", "Sebastian Lackner", "Call UpdateWindow during DIALOG_CreateIndirect." },'; \
	) > user32-Dialog_Paint_Event.ok

# Patchset user32-GetSystemMetrics
# |
# | Included patches:
# |   *	Allow changing the tablet / media center status via wine registry key. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#18732] Make it possible to change media center / tablet pc status
# |
# | Modified files:
# |   *	dlls/user32/sysparams.c
# |
.INTERMEDIATE: user32-GetSystemMetrics.ok
user32-GetSystemMetrics.ok:
	$(call APPLY_FILE,user32-GetSystemMetrics/0001-user32-Allow-changing-the-tablet-media-center-status.patch)
	@( \
		echo '+    { "user32-GetSystemMetrics", "Michael Müller", "Allow changing the tablet / media center status via wine registry key." },'; \
	) > user32-GetSystemMetrics.ok

# Patchset user32-GetTipText
# |
# | Included patches:
# |   *	Handle TOOLTIPS_GetTipText edge cases. [by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#30648] Support for TOOLTIPS_GetTipText edge cases
# |
# | Modified files:
# |   *	dlls/comctl32/tooltips.c
# |
.INTERMEDIATE: user32-GetTipText.ok
user32-GetTipText.ok:
	$(call APPLY_FILE,user32-GetTipText/0001-Fix-TOOLTIPS_GetTipText-when-a-resource-cannot-be-fo.patch)
	$(call APPLY_FILE,user32-GetTipText/0002-Fix-TOOLTIPS_GetTipText-when-a-NULL-instance-is-used.patch)
	@( \
		echo '+    { "user32-GetTipText", "Erich E. Hoover", "Handle TOOLTIPS_GetTipText edge cases." },'; \
	) > user32-GetTipText.ok

# Patchset user32-WndProc
# |
# | Included patches:
# |   *	Workaround for programs leaking wndproc splots. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#32451] Fix for programs leaking wndproc slots
# |
# | Modified files:
# |   *	dlls/user32/winproc.c
# |
.INTERMEDIATE: user32-WndProc.ok
user32-WndProc.ok:
	$(call APPLY_FILE,user32-WndProc/0001-user32-Increase-MAX_WINPROCS-to-16384.patch)
	@( \
		echo '+    { "user32-WndProc", "Sebastian Lackner", "Workaround for programs leaking wndproc splots." },'; \
	) > user32-WndProc.ok

# Patchset wine.inf-ProductId
# |
# | Included patches:
# |   *	wine.inf: Add fake ProductId to HKLM\CurrentVersionNT. [by Yanis Lukes]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#36964] Unity3D Editor requires ProductId registry value
# |
# | Modified files:
# |   *	loader/wine.inf.in
# |
.INTERMEDIATE: wine.inf-ProductId.ok
wine.inf-ProductId.ok:
	$(call APPLY_FILE,wine.inf-ProductId/0001-wine.inf-Add-fake-ProductId-to-HKLM-CurrentVersionNT.patch)
	@( \
		echo '+    { "wine.inf-ProductId", "Yanis Lukes", "wine.inf: Add fake ProductId to HKLM\\CurrentVersionNT." },'; \
	) > wine.inf-ProductId.ok

# Patchset wineboot-HKEY_DYN_DATA
# |
# | Included patches:
# |   *	Add some generic hardware in HKEY_DYN_DATA\Config Manager\Enum. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#7115] Need for Speed 3 installer requires devices in HKEY_DYN_DATA
# |
# | Modified files:
# |   *	programs/wineboot/wineboot.c
# |
.INTERMEDIATE: wineboot-HKEY_DYN_DATA.ok
wineboot-HKEY_DYN_DATA.ok:
	$(call APPLY_FILE,wineboot-HKEY_DYN_DATA/0001-wineboot-Add-some-generic-hardware-in-HKEY_DYN_DATA-.patch)
	@( \
		echo '+    { "wineboot-HKEY_DYN_DATA", "Michael Müller", "Add some generic hardware in HKEY_DYN_DATA\\Config Manager\\Enum." },'; \
	) > wineboot-HKEY_DYN_DATA.ok

# Patchset winebuild-LinkerVersion
# |
# | Included patches:
# |   *	Set a valid major and minor linker version in the PE header. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#28768] Games For Windows Live 1.x expects a valid linker version in the PE header
# |
# | Modified files:
# |   *	tools/winebuild/spec32.c
# |
.INTERMEDIATE: winebuild-LinkerVersion.ok
winebuild-LinkerVersion.ok:
	$(call APPLY_FILE,winebuild-LinkerVersion/0001-winebuild-Set-a-valid-major-and-minor-linker-version.patch)
	@( \
		echo '+    { "winebuild-LinkerVersion", "Michael Müller", "Set a valid major and minor linker version in the PE header." },'; \
	) > winebuild-LinkerVersion.ok

# Patchset wined3d-DXTn
# |
# | Included patches:
# |   *	Add support for DXTn software decoding through libxtc_dxtn. [rev 2, by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#25486] Lego Stunt Rally requires DXTn software de/encoding support
# |   *	[#29586] Tumblebugs 2 requires DXTn software encoding support
# |
# | Modified files:
# |   *	configure.ac, dlls/wined3d/Makefile.in, dlls/wined3d/dxtn.c, dlls/wined3d/surface.c, dlls/wined3d/wined3d_main.c,
# | 	dlls/wined3d/wined3d_private.h
# |
.INTERMEDIATE: wined3d-DXTn.ok
wined3d-DXTn.ok:
	$(call APPLY_FILE,wined3d-DXTn/0001-wined3d-Add-support-for-DXTn-software-decoding-throu.patch)
	@( \
		echo '+    { "wined3d-DXTn", "Michael Müller", "Add support for DXTn software decoding through libxtc_dxtn. [rev 2]" },'; \
	) > wined3d-DXTn.ok

# Patchset wined3d-Revert_PixelFormat
# |
# | Included patches:
# |   *	Revert wined3d pixelformat changes. [by Ken Thomases]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#35655] Fix wined3d performance drop introduced by pixelformat changes.
# |   *	[#35718] Fix flickering introduced by pixelformat changes.
# |   *	[#35950] Fix black screen on startup introduced by pixelformat changes.
# |   *	[#35975] Fix gray screen on startup introduced by pixelformat changes.
# |   *	[#36900] Fix missing video introduced by pixelformat changes.
# |
# | Modified files:
# |   *	dlls/d3d8/tests/device.c, dlls/d3d9/tests/device.c, dlls/ddraw/tests/ddraw1.c, dlls/ddraw/tests/ddraw2.c,
# | 	dlls/ddraw/tests/ddraw4.c, dlls/ddraw/tests/ddraw7.c, dlls/wined3d/context.c, dlls/wined3d/wined3d_private.h
# |
.INTERMEDIATE: wined3d-Revert_PixelFormat.ok
wined3d-Revert_PixelFormat.ok:
	$(call APPLY_FILE,wined3d-Revert_PixelFormat/0001-Revert-wined3d-Track-if-a-context-s-private-hdc-has-.patch)
	$(call APPLY_FILE,wined3d-Revert_PixelFormat/0002-Revert-wined3d-Track-if-a-context-s-hdc-is-private-s.patch)
	$(call APPLY_FILE,wined3d-Revert_PixelFormat/0003-Revert-wined3d-When-restoring-pixel-format-in-contex.patch)
	$(call APPLY_FILE,wined3d-Revert_PixelFormat/0004-Revert-wined3d-Don-t-call-GetPixelFormat-to-set-a-fl.patch)
	$(call APPLY_FILE,wined3d-Revert_PixelFormat/0005-Revert-wined3d-Restore-the-pixel-format-of-the-windo.patch)
	$(call APPLY_FILE,wined3d-Revert_PixelFormat/0006-d3d8-Mark-tests-which-no-longer-pass-due-to-reverts-.patch)
	$(call APPLY_FILE,wined3d-Revert_PixelFormat/0007-d3d9-Mark-tests-which-no-longer-pass-due-to-reverts-.patch)
	$(call APPLY_FILE,wined3d-Revert_PixelFormat/0008-ddraw-Mark-tests-which-no-longer-pass-due-to-reverts.patch)
	@( \
		echo '+    { "wined3d-Revert_PixelFormat", "Ken Thomases", "Revert wined3d pixelformat changes." },'; \
	) > wined3d-Revert_PixelFormat.ok

# Patchset winemenubuilder-Desktop_Icon_Path
# |
# | Included patches:
# |   *	Create desktop shortcuts with absolute wine path. [by Sebastian Lackner]
# |
# | Modified files:
# |   *	programs/winemenubuilder/Makefile.in, programs/winemenubuilder/winemenubuilder.c
# |
.INTERMEDIATE: winemenubuilder-Desktop_Icon_Path.ok
winemenubuilder-Desktop_Icon_Path.ok:
	$(call APPLY_FILE,winemenubuilder-Desktop_Icon_Path/0001-winemenubuilder-Create-desktop-shortcuts-with-absolu.patch)
	@( \
		echo '+    { "winemenubuilder-Desktop_Icon_Path", "Sebastian Lackner", "Create desktop shortcuts with absolute wine path." },'; \
	) > winemenubuilder-Desktop_Icon_Path.ok

# Patchset winepulse-PulseAudio_Support
# |
# | Included patches:
# |   *	Winepulse patches extracted from https://launchpad.net/~ubuntu-
# | 	wine/+archive/ubuntu/ppa/+files/wine1.7_1.7.22-0ubuntu1.debian.tar.gz. [rev 4, by Maarten Lankhorst]
# |   *	Expose audio devices directly to programs. [by Mark Harmstone]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#10495] Support for PulseAudio backend for audio
# |
# | Modified files:
# |   *	configure.ac, dlls/mmdevapi/main.c, dlls/mmdevapi/tests/render.c, dlls/winepulse.drv/Makefile.in,
# | 	dlls/winepulse.drv/mmdevdrv.c, dlls/winepulse.drv/winepulse.drv.spec, dlls/winmm/lolvldrv.c
# |
.INTERMEDIATE: winepulse-PulseAudio_Support.ok
winepulse-PulseAudio_Support.ok:
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0001-winmm-Load-winealsa-if-winepulse-is-found.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0002-winepulse-Add-initial-stub-for-pulseaudio-support.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0003-winepulse-Add-format-and-period-probing.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0004-winepulse-Add-audioclient.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0005-winepulse-Add-IAudioRenderClient-and-IAudioCaptureCl.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0006-winepulse-Add-IAudioClock-and-IAudioClock2.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0007-winepulse-Add-audiostreamvolume.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0008-winepulse-Add-session-support.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0009-fix-fdels-trailing-whitespaces.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0010-winepulse-v12.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0011-winepulse-v15-Add-support-for-missing-formats-and-si.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0012-winepulse-v16-Add-official-warning-wine-doesn-t-want.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0013-winepulse-v17-Fix-winmm-tests.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0014-winepulse-v18-Latency-and-compilation-improvements.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0015-winepulse-API-Compatibility-with-1.5.2-onward-v2.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0016-winepulse-Fix-low-latency-support.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0017-winepulse-drop-realtime-priority-before-thread-destr.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0018-winepulse-remove-bogus-SetEvent-from-pulse_started_c.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0019-winepulse-disable-the-setevent-part-of-the-latency-h.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0020-winepulse-v20-fix-the-checks-in-IsFormatSupported.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0021-winepulse-fixup-IsFormatSupported-calls.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0022-winepulse-v21-return-early-if-padding-didn-t-update.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0023-winepulse-fix-unneeded-free-in-write.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0024-winepulse-v23-fixup-a-invalid-free-in-mmdevapi.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0025-winepulse-use-a-pi-mutex-for-serialization.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0026-winepulse-add-support-for-IMarshal.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0027-winepulse-handle-stream-create-failing-correctly.patch)
	$(call APPLY_FILE,winepulse-PulseAudio_Support/0028-winepulse-expose-audio-devices-directly-to-programs.patch)
	@( \
		echo '+    { "winepulse-PulseAudio_Support", "Maarten Lankhorst", "Winepulse patches extracted from https://launchpad.net/~ubuntu-wine/+archive/ubuntu/ppa/+files/wine1.7_1.7.22-0ubuntu1.debian.tar.gz. [rev 4]" },'; \
		echo '+    { "winepulse-PulseAudio_Support", "Mark Harmstone", "Expose audio devices directly to programs." },'; \
	) > winepulse-PulseAudio_Support.ok

# Patchset winex11-CandidateWindowPos
# |
# | Included patches:
# |   *	Update a candidate window's position with over-the-spot style. [rev 2, by Felix Yan]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#30938] Update a XIM candidate position when cursor location changes
# |
# | Modified files:
# |   *	dlls/user32/caret.c, dlls/user32/driver.c, dlls/user32/user_private.h, dlls/winex11.drv/winex11.drv.spec,
# | 	dlls/winex11.drv/xim.c
# |
.INTERMEDIATE: winex11-CandidateWindowPos.ok
winex11-CandidateWindowPos.ok:
	$(call APPLY_FILE,winex11-CandidateWindowPos/0001-winex11.drv-Update-a-candidate-window-s-position-wit.patch)
	@( \
		echo '+    { "winex11-CandidateWindowPos", "Felix Yan", "Update a candidate window'\''s position with over-the-spot style. [rev 2]" },'; \
	) > winex11-CandidateWindowPos.ok

# Patchset winex11-Clipboard_HTML
# |
# | Included patches:
# |   *	Import X11's "text/html" as "HTML Format". [rev 3, by Damjan Jovanovic]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#7372] Support for pasting HTML from Unix applications
# |
# | Modified files:
# |   *	dlls/winex11.drv/clipboard.c
# |
.INTERMEDIATE: winex11-Clipboard_HTML.ok
winex11-Clipboard_HTML.ok:
	$(call APPLY_FILE,winex11-Clipboard_HTML/0001-winex11.drv-Import-X11-s-text-html-as-HTML-Format.patch)
	@( \
		echo '+    { "winex11-Clipboard_HTML", "Damjan Jovanovic", "Import X11'\''s \"text/html\" as \"HTML Format\". [rev 3]" },'; \
	) > winex11-Clipboard_HTML.ok

# Patchset winex11-Limited_Resolutions
# |
# | Included patches:
# |   *	Update the check for broken nVidia RandR to test for the number of resolutions instead of the number of modes. [by Erich
# | 	E. Hoover]
# |
# | Modified files:
# |   *	dlls/winex11.drv/xrandr.c
# |
.INTERMEDIATE: winex11-Limited_Resolutions.ok
winex11-Limited_Resolutions.ok:
	$(call APPLY_FILE,winex11-Limited_Resolutions/0001-winex11.drv-Update-the-check-for-broken-nVidia-RandR.patch)
	@( \
		echo '+    { "winex11-Limited_Resolutions", "Erich E. Hoover", "Update the check for broken nVidia RandR to test for the number of resolutions instead of the number of modes." },'; \
	) > winex11-Limited_Resolutions.ok

# Patchset winex11-Window_Groups
# |
# | Included patches:
# |   *	Prevent window managers from grouping all wine programs together. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#32699] Prevent window managers from grouping all wine programs together
# |
# | Modified files:
# |   *	dlls/winex11.drv/window.c
# |
.INTERMEDIATE: winex11-Window_Groups.ok
winex11-Window_Groups.ok:
	$(call APPLY_FILE,winex11-Window_Groups/0001-winex11-Prevent-window-managers-from-grouping-all-wi.patch)
	@( \
		echo '+    { "winex11-Window_Groups", "Michael Müller", "Prevent window managers from grouping all wine programs together." },'; \
	) > winex11-Window_Groups.ok

# Patchset winex11-XEMBED
# |
# | Included patches:
# |   *	Enable/disable windows when they are (un)mapped by foreign applications. [by Sebastian Lackner]
# |
# | Modified files:
# |   *	dlls/winex11.drv/event.c
# |
.INTERMEDIATE: winex11-XEMBED.ok
winex11-XEMBED.ok:
	$(call APPLY_FILE,winex11-XEMBED/0001-winex11-Enable-disable-windows-when-they-are-un-mapped.patch)
	@( \
		echo '+    { "winex11-XEMBED", "Sebastian Lackner", "Enable/disable windows when they are (un)mapped by foreign applications." },'; \
	) > winex11-XEMBED.ok

# Patchset winex11-wglShareLists
# |
# | Included patches:
# |   *	Only warn about used contexts in wglShareLists. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#11436] Do not fail when a used context is passed to wglShareLists
# |
# | Modified files:
# |   *	dlls/winex11.drv/opengl.c
# |
.INTERMEDIATE: winex11-wglShareLists.ok
winex11-wglShareLists.ok:
	$(call APPLY_FILE,winex11-wglShareLists/0001-winex11.drv-Only-warn-about-used-contexts-in-wglShar.patch)
	@( \
		echo '+    { "winex11-wglShareLists", "Michael Müller", "Only warn about used contexts in wglShareLists." },'; \
	) > winex11-wglShareLists.ok

# Patchset wpcap-Dynamic_Linking
# |
# | Included patches:
# |   *	Use dynamic linking for libpcap. [by André Hentschel]
# |
# | Modified files:
# |   *	configure.ac, dlls/wpcap/Makefile.in, dlls/wpcap/wpcap.c
# |
.INTERMEDIATE: wpcap-Dynamic_Linking.ok
wpcap-Dynamic_Linking.ok:
	$(call APPLY_FILE,wpcap-Dynamic_Linking/0001-wpcap-Load-libpcap-dynamically.patch)
	@( \
		echo '+    { "wpcap-Dynamic_Linking", "André Hentschel", "Use dynamic linking for libpcap." },'; \
	) > wpcap-Dynamic_Linking.ok

# Patchset ws2_32-Connect_Time
# |
# | Included patches:
# |   *	Return the appropriate connection time with SO_CONNECT_TIME. [by Bruno Jesus / Erich E. Hoover]
# |
# | Modified files:
# |   *	dlls/ws2_32/socket.c, dlls/ws2_32/tests/sock.c, server/protocol.def, server/sock.c
# |
.INTERMEDIATE: ws2_32-Connect_Time.ok
ws2_32-Connect_Time.ok:
	$(call APPLY_FILE,ws2_32-Connect_Time/0001-server-Store-the-time-of-the-socket-connection.patch)
	$(call APPLY_FILE,ws2_32-Connect_Time/0002-ws2_32-Properly-implement-SO_CONNECT_TIME.patch)
	@( \
		echo '+    { "ws2_32-Connect_Time", "Bruno Jesus / Erich E. Hoover", "Return the appropriate connection time with SO_CONNECT_TIME." },'; \
	) > ws2_32-Connect_Time.ok

# Patchset ws2_32-TransmitFile
# |
# | Included patches:
# |   *	Implement TransmitFile. [by Erich E. Hoover]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#5048] Support for TransmitFile
# |
# | Modified files:
# |   *	dlls/ws2_32/socket.c, dlls/ws2_32/tests/sock.c, include/winsock.h, server/protocol.def, server/sock.c
# |
.INTERMEDIATE: ws2_32-TransmitFile.ok
ws2_32-TransmitFile.ok:
	$(call APPLY_FILE,ws2_32-TransmitFile/0001-ws2_32-Add-stub-for-TransmitFile.patch)
	$(call APPLY_FILE,ws2_32-TransmitFile/0002-ws2_32-Check-for-invalid-parameters-in-TransmitFile.patch)
	$(call APPLY_FILE,ws2_32-TransmitFile/0003-ws2_32-Implement-a-basic-synchronous-TransmitFile.patch)
	$(call APPLY_FILE,ws2_32-TransmitFile/0004-ws2_32-Add-asynchronous-support-for-TransmitFile.patch)
	$(call APPLY_FILE,ws2_32-TransmitFile/0005-ws2_32-Add-support-for-TF_DISCONNECT-and-TF_REUSE_SO.patch)
	@( \
		echo '+    { "ws2_32-TransmitFile", "Erich E. Hoover", "Implement TransmitFile." },'; \
	) > ws2_32-TransmitFile.ok

# Patchset ws2_32-inet_pton
# |
# | Included patches:
# |   *	Implement ws2_32.inet_pton. [by Bruno Jesus]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#36713] Support for ws2_32.inet_pton
# |
# | Modified files:
# |   *	dlls/ws2_32/socket.c, dlls/ws2_32/ws2_32.spec, include/ws2tcpip.h
# |
.INTERMEDIATE: ws2_32-inet_pton.ok
ws2_32-inet_pton.ok:
	$(call APPLY_FILE,ws2_32-inet_pton/0001-ws2_32-Implement-inet_pton.patch)
	@( \
		echo '+    { "ws2_32-inet_pton", "Bruno Jesus", "Implement ws2_32.inet_pton." },'; \
	) > ws2_32-inet_pton.ok

# Patchset wtsapi32-EnumerateProcesses
# |
# | Included patches:
# |   *	Partial implementation of WTSEnumerateProcessesW. [by Sebastian Lackner]
# |
# | This patchset fixes the following Wine bugs:
# |   *	[#29903] Support for WTSEnumerateProcessesW
# |
# | Modified files:
# |   *	dlls/wtsapi32/tests/wtsapi.c, dlls/wtsapi32/wtsapi32.c
# |
.INTERMEDIATE: wtsapi32-EnumerateProcesses.ok
wtsapi32-EnumerateProcesses.ok:
	$(call APPLY_FILE,wtsapi32-EnumerateProcesses/0001-wtsapi32-Partial-implementation-of-WTSEnumerateProce.patch)
	@( \
		echo '+    { "wtsapi32-EnumerateProcesses", "Sebastian Lackner", "Partial implementation of WTSEnumerateProcessesW." },'; \
	) > wtsapi32-EnumerateProcesses.ok