From e4b1b6626774cd163395e87f8b4f7e78880cad9c Mon Sep 17 00:00:00 2001 From: naddy Date: Sat, 26 Jun 2004 05:00:25 +0000 Subject: [PATCH] update to 1.1; maintainer timeout --- x11/root-tail/Makefile | 4 +-- x11/root-tail/distinfo | 6 ++--- x11/root-tail/patches/patch-root-tail_c | 36 +++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 x11/root-tail/patches/patch-root-tail_c diff --git a/x11/root-tail/Makefile b/x11/root-tail/Makefile index 6db2866eb6f..906f4a90430 100644 --- a/x11/root-tail/Makefile +++ b/x11/root-tail/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.10 2003/10/08 17:13:17 sturm Exp $ +# $OpenBSD: Makefile,v 1.11 2004/06/26 05:00:25 naddy Exp $ COMMENT= "tails a given file anywhere on your X11 root window" -DISTNAME= root-tail-0.2 +DISTNAME= root-tail-1.1 CATEGORIES= x11 HOMESITE= http://www.goof.com/pcg/marc diff --git a/x11/root-tail/distinfo b/x11/root-tail/distinfo index d3d3d731a67..bc57f7f2abc 100644 --- a/x11/root-tail/distinfo +++ b/x11/root-tail/distinfo @@ -1,3 +1,3 @@ -MD5 (root-tail-0.2.tar.gz) = 92c217c21c4388413b8fb3e0d9ffb6ac -RMD160 (root-tail-0.2.tar.gz) = 087140476d64c98991e31aaed44e43d1a815d144 -SHA1 (root-tail-0.2.tar.gz) = ec046780f7f828fd84ac09c0b6050d8db4b9afcc +MD5 (root-tail-1.1.tar.gz) = adb925c2781892bb5dcbdf9d5e579032 +RMD160 (root-tail-1.1.tar.gz) = 0e629a29a7a76c332595fb974ec088362b2b707f +SHA1 (root-tail-1.1.tar.gz) = bb09f4fd0fc7c4fdcd6ed5a20de091f7112b4825 diff --git a/x11/root-tail/patches/patch-root-tail_c b/x11/root-tail/patches/patch-root-tail_c new file mode 100644 index 00000000000..aee1e0d6b80 --- /dev/null +++ b/x11/root-tail/patches/patch-root-tail_c @@ -0,0 +1,36 @@ +$OpenBSD: patch-root-tail_c,v 1.1 2004/06/26 05:00:25 naddy Exp $ +--- root-tail.c.orig 2004-06-20 11:05:55.000000000 -0600 ++++ root-tail.c 2004-06-20 11:07:14.000000000 -0600 +@@ -655,12 +655,12 @@ transform_line (char *s) + char * + concat_line (char *p1, const char *p2) + { +- assert(p2); +- + int l1 = p1 ? strlen (p1) : 0; + int l2 = strlen (p2); + char *r; + ++ assert(p2); ++ + if (p1) + r = xrealloc(p1, l1 + l2 + 1); + else +@@ -925,6 +925,8 @@ possibly_split_long_line (struct logfile + int wrapped = 0; + char *break_p = NULL; + int width_at_break_p = 0; ++ int prefix_len; ++ + spaces = 0; + + if (opt_justify) +@@ -992,8 +994,6 @@ possibly_split_long_line (struct logfile + if (!wrapped) + break; + +- int prefix_len; +- + /* choose where to break the line */ + if (opt_wordwrap && break_p && break_p != beg) + {