summarylogtreecommitdiffstats
path: root/escape_more.diff
diff options
context:
space:
mode:
authorConnor Behan2017-11-27 23:23:31 -0500
committerConnor Behan2017-11-27 23:23:31 -0500
commit2e5aed66443215f5e64692b50a08577825a377b6 (patch)
tree22b0bc03e8b0c7a72a824941613a405719af6751 /escape_more.diff
parent0a0be7a86ba54a4bc5dc1dd450abb0132cbb355c (diff)
downloadaur-manserver.tar.gz
Get it working with newer perl
Diffstat (limited to 'escape_more.diff')
-rw-r--r--escape_more.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/escape_more.diff b/escape_more.diff
new file mode 100644
index 000000000000..6cb3371ef24b
--- /dev/null
+++ b/escape_more.diff
@@ -0,0 +1,25 @@
+--- manServer.pl.orig 2017-11-27 23:19:27.000000000 -0500
++++ manServer.pl 2017-11-27 23:19:36.000000000 -0500
+@@ -582,8 +582,8 @@
+ s,\\t,\t,g;
+
+ s,\\%, ,g;
+- s,\\{,,g;
+- s,\\},,g;
++ s,\\\{,,g;
++ s,\\\},,g;
+ s,\\$,,g;
+
+ s,\\e,\,g;
+@@ -1953,9 +1953,9 @@
+ $rowref->[$troffCol] .= "$style2</TD>";
+ ++$troffCol;
+ }
+- elsif ($col =~ m/T{/) #}
++ elsif ($col =~ m/T\{/) #}
+ {
+- $col =~ s/T{//; #}
++ $col =~ s/T\{//; #}
+ $rowref->[$troffCol] = "<TD$align>$style1$col";
+ $troffMultiline = 1;
+ }