From 7307a7ea4fa5ffa582d52d1cfd70e98849082fe4 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 23 Jul 2016 17:27:59 +0200 Subject: [PATCH] patchupdate.py: Add list of authors to autogenerated patches. --- patches/wined3d-CSMT_Main/9999-IfDefined.patch | 7 +++++++ staging/patchupdate.py | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/patches/wined3d-CSMT_Main/9999-IfDefined.patch b/patches/wined3d-CSMT_Main/9999-IfDefined.patch index bb8ecb22..4d3ac2a0 100644 --- a/patches/wined3d-CSMT_Main/9999-IfDefined.patch +++ b/patches/wined3d-CSMT_Main/9999-IfDefined.patch @@ -1,6 +1,13 @@ From: Wine Staging Team Subject: Autogenerated #ifdef patch for wined3d-CSMT_Main. +Based on patches by: + Henri Verbeet + Matteo Bruni + Sebastian Lackner + Stefan Dösinger + Stefan Dösinger + 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 diff --git a/staging/patchupdate.py b/staging/patchupdate.py index c7cbaecf..4a7e6aa8 100755 --- a/staging/patchupdate.py +++ b/staging/patchupdate.py @@ -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):