summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-06-16 23:19:50 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-06-16 23:19:50 +0900
commit1cbb72d72215c830304bbef32c9212d24e7cd250 (patch)
tree877c15eeb15d42c0f87bf7120eed975ce953c6b9 /www-client/w3mmee/files
parentwww-client/w3mmee: update to EAPI 7 (diff)
downloadgentoo-1cbb72d72215c830304bbef32c9212d24e7cd250.tar.gz
gentoo-1cbb72d72215c830304bbef32c9212d24e7cd250.tar.bz2
gentoo-1cbb72d72215c830304bbef32c9212d24e7cd250.zip
www-client/w3mmee: fix build with >=sys-devel/gcc-10
Closes: https://bugs.gentoo.org/706604 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'www-client/w3mmee/files')
-rw-r--r--www-client/w3mmee/files/w3mmee-gcc-10.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/www-client/w3mmee/files/w3mmee-gcc-10.patch b/www-client/w3mmee/files/w3mmee-gcc-10.patch
new file mode 100644
index 000000000000..262be512dc1f
--- /dev/null
+++ b/www-client/w3mmee/files/w3mmee-gcc-10.patch
@@ -0,0 +1,17 @@
+--- a/fm.h
++++ b/fm.h
+@@ -1191,12 +1191,12 @@
+ global TextList *mimetypes_list;
+ global char *mailcap_files init("0, " USER_MAILCAP ", 0, " SYS_MAILCAP ", 1, " GLOBAL_MAILCAP);
+ global char *mimetypes_files init(USER_MIMETYPES ", " SYS_MIMETYPES);
+-global TextList mailcap_entries;
++extern TextList mailcap_entries;
+
+ global struct mailcap **UserBrowsecap init(NULL);
+ global TextList *browsecap_list;
+ global char *browsecap_files init(USER_BROWSECAP ", " SYS_BROWSECAP);
+-global TextList browsecap_entries;
++extern TextList browsecap_entries;
+
+ global TextList *fileToDelete;
+