perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / perl / Tk / patches / 01-load-64-bit-X11.patch
blob17a50dfe6a05e7dcfc60e2f0a1cb1de2d7b52791
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
5 +++ Tk-804.036/Tk.pm
6 @@ -90,8 +90,8 @@
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)]