View | Details | Raw Unified | Return to bug 50708
Collapse All | Expand All

(-)roottail.new/Makefile (-4 / +2 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	roottail
8
PORTNAME=	roottail
9
PORTVERSION=	0.0.10
9
PORTVERSION=	0.2
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	http://www.goof.com/pcg/marc/data/ \
11
MASTER_SITES=	http://www.goof.com/pcg/marc/data/
12
		ftp://ftp.goof.com/pub/pcg/marc/
13
DISTNAME=	root-tail-${PORTVERSION}
12
DISTNAME=	root-tail-${PORTVERSION}
14
13
15
MAINTAINER=	jedgar@FreeBSD.org
14
MAINTAINER=	jedgar@FreeBSD.org
Lines 17-22 Link Here
17
16
18
MAN1=		root-tail.1
17
MAN1=		root-tail.1
19
USE_IMAKE=	yes
18
USE_IMAKE=	yes
20
MANCOMPRESSED=	no
21
19
22
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)roottail.new/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (root-tail-0.0.10.tar.gz) = ab335fdadbe51f093a911728e54ae95d
1
MD5 (root-tail-0.2.tar.gz) = 92c217c21c4388413b8fb3e0d9ffb6ac
(-)roottail.new/files/patch-aa (-20 / +26 lines)
Lines 1-25 Link Here
1
--- ../root-tail-0.0.6/root-tail.c	Fri Mar  3 06:16:46 2000
1
--- root-tail.c.orig	Wed May  8 22:54:47 2002
2
+++ root-tail.c	Thu Jul 13 07:38:05 2000
2
+++ root-tail.c	Sun Mar 16 10:41:37 2003
3
@@ -24,6 +24,7 @@
3
@@ -86,6 +86,7 @@
4
 /*---------------- Let's define signals functions -------------*/
4
 void list_files(int);
5
 void force_reopen(int);
6
 void force_refresh(int);
7
+void exit_now(int);
8
 void blank_window(int);
9
 
10
 void InitWindow(void);
11
@@ -128,6 +129,12 @@
12
     redraw();
13
 }
5
 
14
 
6
 static void reopen (int);
7
+static void exit_now(int);
8
 static void list_files (int);
9
 static void force_refresh (int);
10
 static void InstallSigHandler (void);
11
@@ -109,6 +110,14 @@
12
   signal (SIGHUP, reopen);
13
   signal (SIGUSR1, list_files);
14
   signal (SIGUSR2, force_refresh);
15
+  signal (SIGSEGV, exit_now);
16
+}
17
+
18
+void exit_now(int signal)
15
+void exit_now(int signal)
19
+{
16
+{
17
+    fprintf (stderr, "Program exiting due to signal: %d\n", signal);
18
+    exit(-1);
19
+}
20
+
20
+
21
+	fprintf (stderr, "Program exiting due to signal: %d\n", signal);
21
 void blank_window(int dummy)
22
+ 	exit(-1);
22
 {
23
 }
23
     XClearWindow(disp, root);
24
 
24
@@ -685,6 +692,7 @@
25
     install_signal(SIGHUP, force_reopen);
26
     install_signal(SIGUSR1, list_files);
27
     install_signal(SIGUSR2, force_refresh);
28
+    install_signal(SIGSEGV, exit_now);
25
 
29
 
30
     if (opt_daemonize)
31
 	daemonize();

Return to bug 50708