Created attachment 470738 [details, diff] Allow building net-misc/putty with GTK+2 pterm doesn't work properly for me when built against GTK+3 (window content only refreshes when resizing the terminal), but works fine when built against GTK+2, so I'm attaching a patch to allow building with GTK+2 when gtk2 USE flag is set.
Created attachment 472740 [details] net-misc:putty-0.69-r1:20170516-045108.log (In reply to Jernej Simoncic from comment #0) > Created attachment 470738 [details, diff] [details, diff] That doesn't appear to quite work with putty-0.69.
I think Lars has a simple patch for that problem.
Created attachment 472742 [details, diff] putty-0.69-gtk2_compilefix.patch
Created attachment 472744 [details, diff] putty-0.69-gtkwin_cast.patch You actually need two patches to really fix this issue. See the attached two patches which are taken directly from upstream's VCS.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0690ffab43b375dd17e660562a5cb8c9e3107dc commit e0690ffab43b375dd17e660562a5cb8c9e3107dc Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-03-17 23:51:54 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-03-17 23:52:47 +0000 net-misc/putty: Add USE=gtk2 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Fixes: https://bugs.gentoo.org/616412 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-misc/putty/metadata.xml | 10 +++------- net-misc/putty/putty-0.71.ebuild | 7 ++++--- net-misc/putty/putty-9999.ebuild | 7 ++++--- 3 files changed, 11 insertions(+), 13 deletions(-)