diff options
Diffstat (limited to 'xdiff/0002-fix-build-with-musl-libc.patch')
| -rw-r--r-- | xdiff/0002-fix-build-with-musl-libc.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/xdiff/0002-fix-build-with-musl-libc.patch b/xdiff/0002-fix-build-with-musl-libc.patch new file mode 100644 index 0000000..c4c7039 --- /dev/null +++ b/xdiff/0002-fix-build-with-musl-libc.patch @@ -0,0 +1,27 @@ +From 25677f3ce5b212c81b830e02607401d0ad16a5b5 Mon Sep 17 00:00:00 2001 +From: John Vogel <jvogel4@stny.rr.com> +Date: Fri, 12 Jul 2024 10:42:06 -0400 +Subject: [PATCH 2/2] 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 4091d22..ab5ad47 100644 +--- a/git-xdiff.h ++++ b/git-xdiff.h +@@ -61,6 +61,10 @@ inline int xdl_regexec_buf( + #else + # include <regex.h> + ++#ifndef REG_STARTEND ++#define REG_STARTEND 00004 ++#endif ++ + # define xdl_regex_t regex_t + # define xdl_regmatch_t regmatch_t + +-- +2.45.2 + |
