diff options
Diffstat (limited to 'app-text/psiconv/files/psiconv-0.8.3-gcc10-fno-common.patch')
-rw-r--r-- | app-text/psiconv/files/psiconv-0.8.3-gcc10-fno-common.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/psiconv/files/psiconv-0.8.3-gcc10-fno-common.patch b/app-text/psiconv/files/psiconv-0.8.3-gcc10-fno-common.patch new file mode 100644 index 000000000000..4c21a6ed3d4a --- /dev/null +++ b/app-text/psiconv/files/psiconv-0.8.3-gcc10-fno-common.patch @@ -0,0 +1,21 @@ +--- a/program/psiconv/psiconv.c ++++ b/program/psiconv/psiconv.c +@@ -41,6 +41,8 @@ + #include "gen.h" + #include "psiconv.h" + ++psiconv_list fileformat_list; ++ + static void print_help(void); + static void print_version(void); + static void strtoupper(char *str); +--- a/program/psiconv/psiconv.h ++++ b/program/psiconv/psiconv.h +@@ -31,6 +31,6 @@ + output_function *output; + } *psiconv_fileformat; + +-psiconv_list fileformat_list; /* of struct psiconv_fileformat */ ++extern psiconv_list fileformat_list; /* of struct psiconv_fileformat */ + + #endif /* PSICONV_GEN_H */ |