1 Since we build 64 bit we need to load 64 bit libX11.
2 See https://github.com/eserte/perl-tk/issues/99
4 --- Tk-804.036/Tk.pm.orig
7 my $boot_time = timeofday();
9 # This is a workround for Solaris X11 locale handling
10 -Preload(DynaLoader::dl_findfile('-L/usr/openwin/lib','-lX11'))
11 - if (NeedPreload() && -d '/usr/openwin/lib');
12 +Preload(DynaLoader::dl_findfile('-L/usr/openwin/lib/64','-lX11'))
13 + if (NeedPreload() && -d '/usr/openwin/lib/64');
15 use Tk::Submethods ('option' => [qw(add get clear readfile)],
16 'clipboard' => [qw(clear append get)]