diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-23 08:52:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-23 08:52:39 +0100 |
commit | c9aaa2ff911ee95adca22bcd9264e8ecfa3d5149 (patch) | |
tree | 32153e53b9929840fafd6a0bf95110df4c2885df /sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch | |
parent | bc8e1f28a81cb6ef9bc3fd1103842690c4320ce4 (diff) |
gentoo auto-resync : 23:07:2023 - 08:52:38
Diffstat (limited to 'sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch')
-rw-r--r-- | sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch b/sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch new file mode 100644 index 000000000000..bc813a0bed20 --- /dev/null +++ b/sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch @@ -0,0 +1,41 @@ +Bug: https://bugs.gentoo.org/886137 +--- a/autotune.c ++++ b/autotune.c +@@ -29,6 +29,8 @@ + #include <math.h> + #include "main.h" + #include "autotune.h" ++#include "draw.h" ++#include "calc.h" + #include <unistd.h> + + +--- a/main.h ++++ b/main.h +@@ -112,4 +112,6 @@ gint mdw_expose_event(GtkWidget *, GdkEventExpose *, gpointer), + + void writespice(char *); + void removene(void); ++void loadgw(char *); ++void savegw(char *); + +--- a/print.c ++++ b/print.c +@@ -32,6 +32,7 @@ + #include "main.h" + #include "calc.h" + #include "print.h" ++#include "draw.h" + // jvdh 2004-3-30 + + extern SMCDATA smcdata; +--- a/widget.c ++++ b/widget.c +@@ -36,6 +36,7 @@ + #include "widget.h" + #include "draw.h" + #include "print.h" ++#include "autotune.h" + + extern GtkTextBuffer *txtcircbuff; + extern int Zcirc, Ycirc, RHOcirc, Qcirc, tsidx, fsidx; |