You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
patchutils.py: Create smaller #ifdef ranges.
This commit is contained in:
@ -501,7 +501,7 @@ def generate_ifdef_patch(original, patched, ifdef):
|
||||
#
|
||||
|
||||
with tempfile.NamedTemporaryFile(mode='w+') as diff:
|
||||
exitcode = subprocess.call(["diff", "-u", original.name, patched.name],
|
||||
exitcode = subprocess.call(["diff", "-U", "1", original.name, patched.name],
|
||||
stdout=diff, stderr=_devnull)
|
||||
if exitcode == 0:
|
||||
return None
|
||||
|
Reference in New Issue
Block a user