Created attachment 192097 [details]
Patch to add suport for GTK2
security/putty as of version 0.69 was converted to GTK3 only (in FreeBSD ports) but I didn't find any evidence on Putty website that GTK2 support was dropped so I tried to build it with GTK2 and it works for me. GTK3 version has some scrolling problems in KDE4 for me.
I created patch for the port to allow users to choose between GTK2 / GTK3 / no toolkit.
I did poudriere testport for all of these 3 options. It builds fine. Run test for GTK3 / GTK2.
Created attachment 192098 [details]
poudriere testport build log - no GTK
Created attachment 192099 [details]
poudriere testport build log - GTK2
Created attachment 192100 [details]
poudriere testport build log - GTK3
A commit references this bug:
Date: Mon Apr 2 21:29:17 UTC 2018
New revision: 466267
Reinstate support for GTK2 (rather than GTK3) as an OPTION.
While here, add a putty-gtk2 slave port and update _CONFLICTS.
Since the default package does not change, and pkg would handle conflicts
around attempted installation of the new -gtk2 package, omit the
PORTREVISION bump from Miroslav's original patch.
Submitted by: Miroslav Lachman
Committed with minor changes, thank you!