diff options
author | Sam James <sam@gentoo.org> | 2022-10-07 18:37:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-07 20:00:05 +0100 |
commit | 610fa63c1f03b22c743d779808d36b23f728124b (patch) | |
tree | 05af12577b690b574c7fcaa9f15b5b064a0b81b2 /dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch | |
parent | sys-fs/mtd-utils: bump (diff) | |
download | gentoo-610fa63c1f03b22c743d779808d36b23f728124b.tar.gz gentoo-610fa63c1f03b22c743d779808d36b23f728124b.tar.bz2 gentoo-610fa63c1f03b22c743d779808d36b23f728124b.zip |
dev-tex/tth: add 4.16
Closes: https://bugs.gentoo.org/874744
Closes: https://bugs.gentoo.org/724066
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch')
-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; |