summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:51:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:51:44 +0000
commit66c8a1088893f02a68fb72e67ddfb2ab179de34c (patch)
tree75f1291ef5df5bbbe9aa49a3b51c6878b09ff9b0
parentUpdating vcs fields. (diff)
downloadirker-66c8a1088893f02a68fb72e67ddfb2ab179de34c.tar.xz
irker-66c8a1088893f02a68fb72e67ddfb2ab179de34c.zip
Adding patch 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..26de59b
--- /dev/null
+++ b/debian/patches/progress-linux/0001-message-decode.patch
@@ -0,0 +1,16 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+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