summaryrefslogtreecommitdiffstats
path: root/source/xap/rxvt-unicode
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/rxvt-unicode')
-rwxr-xr-xsource/xap/rxvt-unicode/rxvt-unicode.SlackBuild5
-rw-r--r--source/xap/rxvt-unicode/rxvt-unicode.perl5.38.0.diff11
2 files changed, 15 insertions, 1 deletions
diff --git a/source/xap/rxvt-unicode/rxvt-unicode.SlackBuild b/source/xap/rxvt-unicode/rxvt-unicode.SlackBuild
index f25189882..fd8d48d8f 100755
--- a/source/xap/rxvt-unicode/rxvt-unicode.SlackBuild
+++ b/source/xap/rxvt-unicode/rxvt-unicode.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rxvt-unicode
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-6}
+BUILD=${BUILD:-7}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -91,6 +91,9 @@ zcat $CWD/rxvt-unicode.utempter.diff.gz | patch -p1 --verbose || exit 1
# Security fix:
zcat $CWD/CVE-2022-4170.diff.gz | patch -p1 --verbose || exit 1
+# Fix special character rendering with perl-5.38.0:
+zcat $CWD/rxvt-unicode.perl5.38.0.diff.gz | patch -p1 --verbose || exit 1
+
# Regenerate configure from configure.ac after patching in utempter support:
autoreconf -vif
diff --git a/source/xap/rxvt-unicode/rxvt-unicode.perl5.38.0.diff b/source/xap/rxvt-unicode/rxvt-unicode.perl5.38.0.diff
new file mode 100644
index 000000000..439a53d0a
--- /dev/null
+++ b/source/xap/rxvt-unicode/rxvt-unicode.perl5.38.0.diff
@@ -0,0 +1,11 @@
+--- rxvt-unicode/src/rxvtperl.xs 2023/03/05 06:11:32 1.259
++++ rxvt-unicode/src/rxvtperl.xs 2023/07/07 06:10:37 1.260
+@@ -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;