From ad75ca50360f9590325f0f709c091832b70eab1d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Oct 2022 01:28:43 +0100 Subject: gentoo auto-resync : 08:10:2022 - 01:28:43 --- .../tth/files/tth-4.16-Fix-build-with-Clang-16.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch (limited to 'dev-tex/tth/files') 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 +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 + #include +-main(argc,argv) +-int argc; +-char *argv[]; ++#include ++int main(int argc, char *argv[]) + { + int slen; + char *ch,*ch2; -- cgit v1.2.3