diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-08 01:28:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-08 01:28:43 +0100 |
commit | ad75ca50360f9590325f0f709c091832b70eab1d (patch) | |
tree | 8a0b109f05da2a3728e461abf6e31347c2e8b0b2 /dev-tex/tth/files | |
parent | 7b5e4e1f63da7fb63fba5f1a9fc41866c8ae5b2f (diff) |
gentoo auto-resync : 08:10:2022 - 01:28:43
Diffstat (limited to 'dev-tex/tth/files')
-rw-r--r-- | dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch b/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch new file mode 100644 index 000000000000..52dc9a2d21f2 --- /dev/null +++ b/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch @@ -0,0 +1,19 @@ +From 70244cb4546e6114e08b7bdcf8459daddc9bca8b Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Fri, 7 Oct 2022 18:33:03 +0100 +Subject: [PATCH] Fix build with Clang 16 + +--- a/tthsplit.c ++++ b/tthsplit.c +@@ -6,9 +6,8 @@ Copyright 1997 I.H.Hutchinson. + #define LINELEN 256 + #include <stdio.h> + #include <string.h> +-main(argc,argv) +-int argc; +-char *argv[]; ++#include <stdlib.h> ++int main(int argc, char *argv[]) + { + int slen; + char *ch,*ch2; |