diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 07:38:15 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 07:42:32 -0400 |
commit | d540cd1f90c6cac3c4e81401f42ebf4c769ca7b6 (patch) | |
tree | 52bca9d6763afb93ddda4c44a6e07adc5ee55934 /sci-mathematics/otter/files/otter-3.3-clang16.patch | |
parent | games-board/pysolfc: add 2.18.0 (diff) | |
download | gentoo-d540cd1f90c6cac3c4e81401f42ebf4c769ca7b6.tar.gz gentoo-d540cd1f90c6cac3c4e81401f42ebf4c769ca7b6.tar.bz2 gentoo-d540cd1f90c6cac3c4e81401f42ebf4c769ca7b6.zip |
sci-mathematics/otter: fix lto mismatch + build w/ upcoming clang16
Closes: https://bugs.gentoo.org/863257
Closes: https://bugs.gentoo.org/871423
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'sci-mathematics/otter/files/otter-3.3-clang16.patch')
-rw-r--r-- | sci-mathematics/otter/files/otter-3.3-clang16.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-mathematics/otter/files/otter-3.3-clang16.patch b/sci-mathematics/otter/files/otter-3.3-clang16.patch new file mode 100644 index 000000000000..d70400e4feba --- /dev/null +++ b/sci-mathematics/otter/files/otter-3.3-clang16.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/863257 +https://bugs.gentoo.org/871423 +--- a/mace2/anldp.c ++++ b/mace2/anldp.c +@@ -51,2 +51,4 @@ + ++#include "../source/header.h" ++ + int First_order; /* used by dp.c */ +--- a/source/formed/display.c ++++ b/source/formed/display.c +@@ -588,3 +588,3 @@ + +-setup_operator_pixmaps(font_string) ++void setup_operator_pixmaps(font_string) + char font_string[]; +--- a/source/formed/formed.c ++++ b/source/formed/formed.c +@@ -15,3 +15,3 @@ + +-main(argc, argv) ++int main(argc, argv) + int argc; |