freebsd-ports/math/gkmap/files/patch-src_kmap__struct.h
Robert Clausecker 975c082fd1 math/gkmap: fix build with -fno-common
PR:		259615
Approved by:	javad.kouhi@gmail.com (maintainer timeout, 5 weeks)
2021-12-08 13:54:03 +09:00

26 lines
541 B
C

--- src/kmap_struct.h.orig 2021-11-02 09:33:21 UTC
+++ src/kmap_struct.h
@@ -36,7 +36,7 @@ struct cell
struct cell *left,*right,*down,*up;
char col_string[3], row_string[3];
};
-struct cell cell_array[4][4];
+extern struct cell cell_array[4][4];
struct output
{
@@ -44,10 +44,10 @@ struct output
char cell_num_string[10];
int status;
};
-struct output out_array[20];
-
-char semi_final_out[70];
-char final_out[100];
+extern struct output out_array[20];
+
+extern char semi_final_out[70];
+extern char final_out[100];