summaryrefslogtreecommitdiff
path: root/x11-terms/rxvt-unicode/files/rxvt-unicode-9.31-perl5.38.patch
blob: c5cb346079ddcb7eee5cb7575602d5d4112a6ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Perl 5.38 does not handle empty locale names. Backported upstream fix.

--- a/src/rxvtperl.xs
+++ b/src/rxvtperl.xs
@@ -399,7 +399,7 @@ rxvt_perl_interp::init ()
 {
   if (!perl)
     {
-      rxvt_push_locale (""); // perl init destroys current locale
+      rxvt_push_locale ("C"); // perl init destroys current locale
 
       {
         perl_environ = rxvt_environ;