From b7f99a594aef503463d28f5c028116e7cf927cb6 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 17 Mar 2018 20:41:15 +1100 Subject: [PATCH] mxe.patch: workaround number of digits in git format patch for some reason `--abbrev` does nothing on darwin (macports) git sed pattern change is likely to be flaky --- mxe.patch.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mxe.patch.mk b/mxe.patch.mk index 3daa8780..e5219575 100644 --- a/mxe.patch.mk +++ b/mxe.patch.mk @@ -54,7 +54,7 @@ define EXPORT_PATCH -M9 \ dist..HEAD \ | $(SED) 's/^From [0-9a-f]\{40\} /From 0000000000000000000000000000000000000000 /' \ - | $(SED) 's/^index .......\.\......../index 1111111..2222222/' \ + | $(SED) 's/^index .......*\.\........* /index 1111111..2222222 /' \ ) > '$(PATCH_BY_NAME)' endef