summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-08 21:54:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-08 21:54:59 +0000
commit2af129923c1f4481306777739186b92d9dc385b4 (patch)
tree9e54fd796f6343350f8cff5428edb5e9417e900d
parentRemoving local debian additions (Closes: #843679). (diff)
downloadirker-2af129923c1f4481306777739186b92d9dc385b4.tar.xz
irker-2af129923c1f4481306777739186b92d9dc385b4.zip
Adding patch from Richard Nelson <unixabg@gmail.com> to fix pretty formatting in irk.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0001-message-decode.patch16
-rw-r--r--debian/patches/series1
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-message-decode.patch b/debian/patches/progress-linux/0001-message-decode.patch
new file mode 100644
index 0000000..592376b
--- /dev/null
+++ b/debian/patches/progress-linux/0001-message-decode.patch
@@ -0,0 +1,16 @@
+Author: Richard Nelson <unixabg@gmail.com>
+Description: Fixing pretty formatting.
+
+diff -Naurp irker.orig/irk irker/irk
+--- irker.orig/irk
++++ irker/irk
+@@ -39,8 +39,7 @@ def irk(target, message, server = DEFAUL
+ def main():
+ target = sys.argv[1]
+ message = " ".join(sys.argv[2:])
+- # XXX: why is this necessary?
+- #message = message.decode('string_escape')
++ message = message.decode('string_escape')
+
+ try:
+ irk(target, message)
diff --git a/debian/patches/series b/debian/patches/series
index 5f7c665..ff9a078 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
0012-Drop-sorted-from-event_handler.patch
0013-Fix-incorrect-name-in-Makefile.patch
0011-Import-upstream-tweaks-to-irkerd.service.patch
+progress-linux/0001-message-decode.patch