dev-python/mpmath: Bump to 1.4.0_alpha4
[gentoo/gentoo.git] / sci-electronics / gsmc / files / gsmc-1.1-clang16-build-fix.patch
blobbc813a0bed2047ef506730ec9ecd3340ee3f509c
1 Bug: https://bugs.gentoo.org/886137
2 --- a/autotune.c
3 +++ b/autotune.c
4 @@ -29,6 +29,8 @@
5 #include <math.h>
6 #include "main.h"
7 #include "autotune.h"
8 +#include "draw.h"
9 +#include "calc.h"
10 #include <unistd.h>
13 --- a/main.h
14 +++ b/main.h
15 @@ -112,4 +112,6 @@ gint mdw_expose_event(GtkWidget *, GdkEventExpose *, gpointer),
17 void writespice(char *);
18 void removene(void);
19 +void loadgw(char *);
20 +void savegw(char *);
22 --- a/print.c
23 +++ b/print.c
24 @@ -32,6 +32,7 @@
25 #include "main.h"
26 #include "calc.h"
27 #include "print.h"
28 +#include "draw.h"
29 // jvdh 2004-3-30
31 extern SMCDATA smcdata;
32 --- a/widget.c
33 +++ b/widget.c
34 @@ -36,6 +36,7 @@
35 #include "widget.h"
36 #include "draw.h"
37 #include "print.h"
38 +#include "autotune.h"
40 extern GtkTextBuffer *txtcircbuff;
41 extern int Zcirc, Ycirc, RHOcirc, Qcirc, tsidx, fsidx;