summaryrefslogtreecommitdiff
path: root/package/totd/patches/patch-ne_mesg_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-26 14:21:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-26 14:21:25 +0100
commit27537f0ac386cd2d869a73d2c4d432be2dffb9eb (patch)
tree8d0d6a6026aa6c0a7b5bbd777ef9ed65f916fa78 /package/totd/patches/patch-ne_mesg_c
parent1dbfbd6e0c5c2738f2f8d3b9b8ff0a3a9dc4e529 (diff)
parent67cb0759e674470fa53fd3711d8460fd4a12c1a3 (diff)
resolve xterm Makefile conflict
Diffstat (limited to 'package/totd/patches/patch-ne_mesg_c')
-rw-r--r--package/totd/patches/patch-ne_mesg_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/totd/patches/patch-ne_mesg_c b/package/totd/patches/patch-ne_mesg_c
new file mode 100644
index 000000000..db9633bec
--- /dev/null
+++ b/package/totd/patches/patch-ne_mesg_c
@@ -0,0 +1,16 @@
+ fix for verbose logging
+--- totd-1.5.orig/ne_mesg.c 2002-12-10 23:31:18.000000000 +0100
++++ totd-1.5/ne_mesg.c 2010-03-25 23:45:35.185664417 +0100
+@@ -470,6 +470,12 @@ u_char *dname_decompress (u_char *buf, i
+
+ next = NULL;
+ written_len = token_len = 0;
++
++ if (!m_head)
++ m_head = dname;
++ if (!m_tail)
++ m_tail = dname + buflen;
++
+ for (cp = dname; *cp; cp += token_len) {
+ iter = 0;
+ top: