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
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')
-rw-r--r--www-client/w3mmee/files/w3mmee-gcc-10.patch17
-rw-r--r--www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild1
2 files changed, 18 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;
+
diff --git a/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild b/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
index 1a707e3bfcd8..96d017eb15bc 100644
--- a/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
+++ b/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
@@ -35,6 +35,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-boehm-gc.patch
"${FILESDIR}"/${PN}-gcc-4.4.patch
"${FILESDIR}"/${PN}-gcc-4.5.patch
+ "${FILESDIR}"/${PN}-gcc-10.patch
"${FILESDIR}"/${PN}-glibc-2.14.patch
"${FILESDIR}"/${PN}-openssl-1.1.patch
"${FILESDIR}"/${PN}-rc_name.patch