summaryrefslogtreecommitdiff
path: root/www-client/jd/files/jd-gcc-5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/jd/files/jd-gcc-5.patch')
-rw-r--r--www-client/jd/files/jd-gcc-5.patch15
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; }