diff options
Diffstat (limited to 'xdiff/0002-git-diff.h-fix-build-with-musl-libc.patch')
| -rw-r--r-- | xdiff/0002-git-diff.h-fix-build-with-musl-libc.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/xdiff/0002-git-diff.h-fix-build-with-musl-libc.patch b/xdiff/0002-git-diff.h-fix-build-with-musl-libc.patch deleted file mode 100644 index 099ff55..0000000 --- a/xdiff/0002-git-diff.h-fix-build-with-musl-libc.patch +++ /dev/null @@ -1,27 +0,0 @@ -From e0d91c7d06fef4911cca35b40ea810cc5268ceff Mon Sep 17 00:00:00 2001 -From: John Vogel <jvogel4@stny.rr.com> -Date: Sat, 9 Sep 2023 21:24:37 -0400 -Subject: [PATCH 2/2] git-diff.h: fix build with musl libc - ---- - git-xdiff.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/git-xdiff.h b/git-xdiff.h -index d812d0d..1e8c260 100644 ---- a/git-xdiff.h -+++ b/git-xdiff.h -@@ -50,6 +50,10 @@ - #define xdl_regex_t regex_t - #define xdl_regmatch_t regmatch_t - -+#ifndef REG_STARTEND -+#define REG_STARTEND 00004 -+#endif -+ - inline int xdl_regexec_buf( - const xdl_regex_t *preg, const char *buf, size_t size, - size_t nmatch, xdl_regmatch_t pmatch[], int eflags) --- -2.42.0 - |
