From 61c554300f0078b71e9487cddc8d1f144ecbc743 Mon Sep 17 00:00:00 2001 From: John Vogel Date: Sat, 13 Jul 2024 04:45:00 -0400 Subject: local/xdiff: upgrade to 2.45.0 Revise cmake patch for simplified build. Fix up subpackages. --- xdiff/0002-fix-build-with-musl-libc.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 xdiff/0002-fix-build-with-musl-libc.patch (limited to 'xdiff/0002-fix-build-with-musl-libc.patch') 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 +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 + ++#ifndef REG_STARTEND ++#define REG_STARTEND 00004 ++#endif ++ + # define xdl_regex_t regex_t + # define xdl_regmatch_t regmatch_t + +-- +2.45.2 + -- cgit v1.2.3