patchupdate.py: Add list of authors to autogenerated patches.

This commit is contained in:
Sebastian Lackner 2016-07-23 17:27:59 +02:00
parent 7ca3f2b608
commit 7307a7ea4f
2 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,13 @@
From: Wine Staging Team <webmaster@fds-team.de>
Subject: Autogenerated #ifdef patch for wined3d-CSMT_Main.
Based on patches by:
Henri Verbeet <hverbeet@codeweavers.com>
Matteo Bruni <mbruni@codeweavers.com>
Sebastian Lackner <sebastian@fds-team.de>
Stefan Dösinger <stefan@codeweavers.com>
Stefan Dösinger <stefandoesinger@gmx.at>
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c

View File

@ -481,6 +481,10 @@ def generate_ifdefined(all_patches, skip_checks=False):
fp.write("From: %s <%s>\n" % (headers['author'], headers['email']))
fp.write("Subject: %s\n" % headers['subject'])
fp.write("\n")
fp.write("Based on patches by:\n")
for author, email in sorted(set([(p.patch_author, p.patch_email) for p in patch.patches])):
fp.write(" %s <%s>\n" % (author, email))
fp.write("\n")
depends = resolve_dependencies(enabled_patches, i)
for f in sorted(patch.modified_files):