diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-08-06 21:47:08 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-08-06 21:47:08 +0900 |
commit | d93be79561a120db88087a6ebe1733ad98041c5a (patch) | |
tree | eea28e13c2b091d226bbce97fed95eaae4333772 /www-client/jd/files | |
parent | www-client/jd: update to EAPI 6 (diff) | |
download | gentoo-d93be79561a120db88087a6ebe1733ad98041c5a.tar.gz gentoo-d93be79561a120db88087a6ebe1733ad98041c5a.tar.bz2 gentoo-d93be79561a120db88087a6ebe1733ad98041c5a.zip |
www-client/jd: fix build with >=sys-devel/gcc-5
Closes: https://bugs.gentoo.org/600802
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'www-client/jd/files')
-rw-r--r-- | www-client/jd/files/jd-gcc-5.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www-client/jd/files/jd-gcc-5.patch b/www-client/jd/files/jd-gcc-5.patch new file mode 100644 index 000000000000..4e6a74f4d79d --- /dev/null +++ b/www-client/jd/files/jd-gcc-5.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/600802 + +Author: nanikata@gmail.com + +--- a/src/article/drawareabase.h ++++ b/src/article/drawareabase.h +@@ -330,7 +330,7 @@ + + // リアライズしたか + // Gtk::Widget::is_realized() はうまく動作しない +- const bool is_drawarea_realized(){ return m_window; } ++ const bool is_drawarea_realized(){ return static_cast<bool>(m_window); } + + // 文字色のID( colorid.h にある ID を指定) + const int get_colorid_text() const{ return m_colorid_text; } |