summaryrefslogtreecommitdiff
path: root/sci-electronics/gsmc/files/gsmc-1.1-clang16-build-fix.patch
blob: bc813a0bed2047ef506730ec9ecd3340ee3f509c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;