commit 9ecd7d677d6a84860912fb0636b61c1c3766add1
Author: Jan Rękorajski <[email protected]>
Date:   Sun Jul 9 10:20:58 2023 +0200

    - pull https://github.com/pld-linux/urxvt/pull/1 to fix broken locale with 
perl 5.38
    - rel 3

 broken-perl-5.38.patch | 19 +++++++++++++++++++
 urxvt.spec             |  4 +++-
 2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/urxvt.spec b/urxvt.spec
index d32561b..a485a66 100644
--- a/urxvt.spec
+++ b/urxvt.spec
@@ -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
-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
+Patch0:                broken-perl-5.38.patch
 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}
+%patch0 -p1
 
 %build
 %{__aclocal} -I.
diff --git a/broken-perl-5.38.patch b/broken-perl-5.38.patch
new file mode 100644
index 0000000..6c5db6e
--- /dev/null
+++ b/broken-perl-5.38.patch
@@ -0,0 +1,19 @@
+From 66e8bc0e3099962a076b142c2d341b667764aa76 Mon Sep 17 00:00:00 2001
+From: Mateusz Kocielski <[email protected]>
+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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/urxvt.git/commitdiff/9ecd7d677d6a84860912fb0636b61c1c3766add1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to