diff options
| author | John Vogel <jvogel4@stny.rr.com> | 2023-09-08 21:50:10 -0400 |
|---|---|---|
| committer | John Vogel <jvogel4@stny.rr.com> | 2023-09-08 21:50:10 -0400 |
| commit | 065737352375f064e4e4f59c44891208e8b5bf58 (patch) | |
| tree | 33131381e2be5d9ffbef2a73b829fd5ed4531cfc /xdiff/0001-git-xdiff.h-fix-build-with-musl.patch | |
| parent | f2ecd2565d6dc95435885aa1a5ab1b46b1183e14 (diff) | |
| download | my-aports-065737352375f064e4e4f59c44891208e8b5bf58.tar.gz | |
local/xdiff: new aport
Diffstat (limited to 'xdiff/0001-git-xdiff.h-fix-build-with-musl.patch')
| -rw-r--r-- | xdiff/0001-git-xdiff.h-fix-build-with-musl.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/xdiff/0001-git-xdiff.h-fix-build-with-musl.patch b/xdiff/0001-git-xdiff.h-fix-build-with-musl.patch new file mode 100644 index 0000000..7f976c7 --- /dev/null +++ b/xdiff/0001-git-xdiff.h-fix-build-with-musl.patch @@ -0,0 +1,27 @@ +From f1e2f9e1e52d5362389ee98e66402474dea1867a Mon Sep 17 00:00:00 2001 +From: John Vogel <jvogel4@stny.rr.com> +Date: Fri, 8 Sep 2023 18:55:43 -0400 +Subject: [PATCH] git-xdiff.h: fix build with musl + +--- + 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 + |
