diff options
| author | Matt Jolly <kangie@gentoo.org> | 2025-08-30 17:50:25 +1000 |
|---|---|---|
| committer | Matt Jolly <kangie@gentoo.org> | 2025-08-30 18:09:39 +1000 |
| commit | c6341de67069356366d36fb5963235c572f1e15a (patch) | |
| tree | f338dea220b7143d77e1b009aeee3360f1b1b66d /dev-vcs/fossil/files/fossil-2.26-arm64-fossil_sntrdup.patch | |
| parent | 5e098e2d65f56605c5ae7cb9ac058fe3469f43e4 (diff) | |
| download | gentoo-c6341de67069356366d36fb5963235c572f1e15a.tar.gz gentoo-c6341de67069356366d36fb5963235c572f1e15a.tar.bz2 gentoo-c6341de67069356366d36fb5963235c572f1e15a.zip | |
dev-vcs/fossil: fix LTO failure on arm64
Closes: https://bugs.gentoo.org/960622
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'dev-vcs/fossil/files/fossil-2.26-arm64-fossil_sntrdup.patch')
| -rw-r--r-- | dev-vcs/fossil/files/fossil-2.26-arm64-fossil_sntrdup.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-vcs/fossil/files/fossil-2.26-arm64-fossil_sntrdup.patch b/dev-vcs/fossil/files/fossil-2.26-arm64-fossil_sntrdup.patch new file mode 100644 index 000000000000..a51af9ec5040 --- /dev/null +++ b/dev-vcs/fossil/files/fossil-2.26-arm64-fossil_sntrdup.patch @@ -0,0 +1,28 @@ +From 5ebe56fa1d35739e208dccd7926ea1fc6d4acf5e Mon Sep 17 00:00:00 2001 +From: Matt Jolly <kangie@gentoo.org> +Date: Sat, 30 Aug 2025 17:39:46 +1000 +Subject: [PATCH] Correct the signature of an extern decl of fossil_strndup() + +https://fossil-scm.org/home/info/d546932976888ae8 + +Bug: https://bugs.gentoo.org/960622 +--- + src/th_lang.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/th_lang.c b/src/th_lang.c +index 713e528..a72a219 100644 +--- a/src/th_lang.c ++++ b/src/th_lang.c +@@ -958,7 +958,7 @@ static int string_length_command( + static int string_match_command( + Th_Interp *interp, void *ctx, int argc, const char **argv, int *argl + ){ +- extern char *fossil_strndup(const char*,int); ++ extern char *fossil_strndup(const char*,ssize_t); + extern void fossil_free(void*); + char *zPat, *zStr; + int rc; +-- +2.49.1 + |
