]> git.pld-linux.org Git - packages/urxvt.git/commitdiff
- pull https://github.com/pld-linux/urxvt/pull/1 to fix broken locale with perl 5.38 master auto/th/urxvt-9.31-3
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 9 Jul 2023 08:20:58 +0000 (10:20 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 9 Jul 2023 08:20:58 +0000 (10:20 +0200)
- rel 3

broken-perl-5.38.patch [new file with mode: 0644]
urxvt.spec

diff --git a/broken-perl-5.38.patch b/broken-perl-5.38.patch
new file mode 100644 (file)
index 0000000..6c5db6e
--- /dev/null
@@ -0,0 +1,19 @@
+From 66e8bc0e3099962a076b142c2d341b667764aa76 Mon Sep 17 00:00:00 2001
+From: Mateusz Kocielski <shm@digitalsun.pl>
+Date: Sat, 8 Jul 2023 16:41:02 +0200
+Subject: [PATCH] Add patch to fix broken UTF-8 with perl-5.38
+
+Analysis done by sxzzsf and sent to rxvt-unicode mailing list:
+http://lists.schmorp.de/pipermail/rxvt-unicode/2023q3/002665.html
+
+--- rxvt-unicode-9.31.old/src/rxvtperl.xs      2022-12-30 20:18:20.000000000 +0100
++++ rxvt-unicode-9.31/src/rxvtperl.xs  2023-07-08 16:26:46.086347986 +0200
+@@ -399,7 +399,7 @@
+ {
+   if (!perl)
+     {
+-      rxvt_push_locale (""); // perl init destroys current locale
++      rxvt_push_locale ("C"); // perl init destroys current locale
+       {
+         perl_environ = rxvt_environ;
index d32561bd0955ac5a2b606783c509f3a51fcec1b8..a485a66d4d8e12befb6848a17dcb78ce08139569 100644 (file)
@@ -7,12 +7,13 @@ Summary:      Rxvt terminal with unicode support and some improvements
 Summary(pl.UTF-8):     Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
 Name:          urxvt
 Version:       9.31
 Summary(pl.UTF-8):     Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
 Name:          urxvt
 Version:       9.31
-Release:       2
+Release:       3
 License:       GPL v3+
 Group:         X11/Applications
 Source0:       http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
 # Source0-md5: 3d0ec83705c9b9ff301a4b9965b3cd9f
 Source1:       %{name}.desktop
 License:       GPL v3+
 Group:         X11/Applications
 Source0:       http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
 # Source0-md5: 3d0ec83705c9b9ff301a4b9965b3cd9f
 Source1:       %{name}.desktop
+Patch0:                broken-perl-5.38.patch
 URL:           http://software.schmorp.de/
 BuildRequires: autoconf >= 2.71
 BuildRequires: automake
 URL:           http://software.schmorp.de/
 BuildRequires: autoconf >= 2.71
 BuildRequires: automake
@@ -52,6 +53,7 @@ URxvt jest modyfikacją Rxvt uwzględniającą:
 
 %prep
 %setup -q -n rxvt-unicode-%{version}
 
 %prep
 %setup -q -n rxvt-unicode-%{version}
+%patch0 -p1
 
 %build
 %{__aclocal} -I.
 
 %build
 %{__aclocal} -I.
This page took 0.108511 seconds and 4 git commands to generate.