Date: Mon, 23 Aug 2004 10:11:09 +0400 From: Roman Bogorodskiy <bogorodskiy@inbox.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70844: [ patch ] sysutils/roottail: update to 1.2 Message-ID: <E1Bz82v-0000RH-00.bogorodskiy-inbox-ru@mx2.mail.ru> Resent-Message-ID: <200408230620.i7N6KBgu086931@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70844 >Category: ports >Synopsis: [ patch ] sysutils/roottail: update to 1.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 23 06:20:10 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Roman Bogorodskiy >Release: FreeBSD 5.3-BETA1 i386 >Organization: >Environment: System: FreeBSD lame.novel.ru 5.3-BETA1 FreeBSD 5.3-BETA1 #0: Sat Aug 21 13:33:06 MSD 2004 root@lame.novel.ru:/usr/obj/usr/home/novel/current/src/sys/NOVEL i386 >Description: Update to 1.2. Remove patch-aa since roottail compiles with C89 compilers now. See project's page for changelog. >How-To-Repeat: >Fix: diff -ruN roottail.orig/Makefile roottail/Makefile --- roottail.orig/Makefile Mon Aug 23 10:01:27 2004 +++ roottail/Makefile Mon Aug 23 10:01:50 2004 @@ -6,7 +6,7 @@ # PORTNAME= roottail -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= sysutils MASTER_SITES= http://www.goof.com/pcg/marc/data/ DISTNAME= root-tail-${PORTVERSION} diff -ruN roottail.orig/distinfo roottail/distinfo --- roottail.orig/distinfo Mon Aug 23 10:01:27 2004 +++ roottail/distinfo Mon Aug 23 10:02:32 2004 @@ -1,2 +1,2 @@ -MD5 (root-tail-1.1.tar.gz) = adb925c2781892bb5dcbdf9d5e579032 -SIZE (root-tail-1.1.tar.gz) = 20124 +MD5 (root-tail-1.2.tar.gz) = 5a4b3c4c7ab3bed1f4575e9688aac5de +SIZE (root-tail-1.2.tar.gz) = 20805 diff -ruN roottail.orig/files/patch-aa roottail/files/patch-aa --- roottail.orig/files/patch-aa Mon Aug 23 10:01:27 2004 +++ roottail/files/patch-aa Thu Jan 1 03:00:00 1970 @@ -1,64 +0,0 @@ ---- root-tail.c.orig Thu Apr 8 21:58:28 2004 -+++ root-tail.c Wed Jun 23 14:06:13 2004 -@@ -152,6 +152,7 @@ - void list_files (int); - void force_reopen (int); - void force_refresh (int); -+void exit_now (int); - void blank_window (int); - - void InitWindow (void); -@@ -198,6 +199,13 @@ - } - - void -+exit_now (int signal) -+{ -+ fprintf (stderr, "Program exiting due to signal: %d\n", signal); -+ exit(-1); -+} -+ -+void - blank_window (int dummy) - { - XClearArea (disp, root, win_x, win_y, width + MARGIN_OF_ERROR, height, False); -@@ -655,11 +663,12 @@ - char * - concat_line (char *p1, const char *p2) - { -+ int l1,l2; -+ char *r; - assert(p2); - -- int l1 = p1 ? strlen (p1) : 0; -- int l2 = strlen (p2); -- char *r; -+ l1 = p1 ? strlen (p1) : 0; -+ l2 = strlen (p2); - - if (p1) - r = xrealloc(p1, l1 + l2 + 1); -@@ -925,6 +934,7 @@ - int wrapped = 0; - char *break_p = NULL; - int width_at_break_p = 0; -+ int prefix_len; - spaces = 0; - - if (opt_justify) -@@ -992,7 +1002,6 @@ - if (!wrapped) - break; - -- int prefix_len; - - /* choose where to break the line */ - if (opt_wordwrap && break_p && break_p != beg) -@@ -1501,6 +1510,7 @@ - install_signal (SIGHUP, force_reopen); - install_signal (SIGUSR1, list_files); - install_signal (SIGUSR2, force_refresh); -+ install_signal (SIGSEGV, exit_now); - - if (opt_daemonize) - daemonize (); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Bz82v-0000RH-00.bogorodskiy-inbox-ru>