diff --git a/patches/git-2.35.6.local.patch b/patches/git-2.35.6.local.patch index 0b88552..581f6ea 100644 --- a/patches/git-2.35.6.local.patch +++ b/patches/git-2.35.6.local.patch @@ -79,3 +79,25 @@ $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(filter %.a,$^) $(LIBS) check-sha1:: t/helper/test-tool$X +--- git-2.35.6/git-compat-util.h.orig 2022-12-13 13:17:26.000000000 +0100 ++++ git-2.35.6/git-compat-util.h 2023-03-28 08:13:34.179644083 +0200 +@@ -221,7 +221,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #if !defined(NO_POLL_H) +--- git-2.35.6/compat/regex/regex.c.orig 2022-12-13 13:17:26.000000000 +0100 ++++ git-2.35.6/compat/regex/regex.c 2023-03-28 08:18:00.186635875 +0200 +@@ -66,7 +66,7 @@ + #undef alloca + #define alloca alloca_is_bad_you_should_never_use_it + #endif +-#include ++#include "compat/regex/regex.h" + #include "regex_internal.h" + + #include "regex_internal.c"