File psiconv-0.9.9-gcc10-fix.patch of Package mingw64-psiconv

--- psiconv-0.9.9/program/psiconv/psiconv.h.orig	2022-01-16 18:37:54.368421089 +0100
+++ psiconv-0.9.9/program/psiconv/psiconv.h	2022-01-16 18:38:08.460374190 +0100
@@ -52,7 +52,7 @@
   output_function *output;
 } *fileformat;
 
-psiconv_list fileformat_list; /* of struct psiconv_fileformat */
+extern psiconv_list fileformat_list; /* of struct psiconv_fileformat */
 
 
 #endif /* PSICONV_H */
--- psiconv-0.9.9/program/psiconv/psiconv.c.orig	2022-01-16 18:37:49.864436080 +0100
+++ psiconv-0.9.9/program/psiconv/psiconv.c	2022-01-16 18:38:41.656263712 +0100
@@ -44,6 +44,8 @@
 #include "psiconv.h"
 #include "gen.h"
 
+psiconv_list fileformat_list; 
+
 static void print_help(void);
 static void print_version(void);
 static void strtoupper(char *str);
openSUSE Build Service is sponsored by