From 293af692f3cd9e0e16f561d9407598d2b6565c8e Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 4 Jun 2006 11:06:51 +0000 Subject: Fix errno usage. --- net/nagios-nrpe/distinfo | 3 ++- net/nagios-nrpe/patches/patch-aa | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 net/nagios-nrpe/patches/patch-aa (limited to 'net/nagios-nrpe') diff --git a/net/nagios-nrpe/distinfo b/net/nagios-nrpe/distinfo index 0149bcb1ec7..8d6ee87b15c 100644 --- a/net/nagios-nrpe/distinfo +++ b/net/nagios-nrpe/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/05/21 10:28:40 grant Exp $ +$NetBSD: distinfo,v 1.2 2006/06/04 11:06:51 joerg Exp $ SHA1 (nrpe-2.5.1.tar.gz) = 1beab9dc5fe77b722a12161b23b536ac5e28a6a4 RMD160 (nrpe-2.5.1.tar.gz) = 757eb92cde878d8a0d3e483149d8969728ed7e03 Size (nrpe-2.5.1.tar.gz) = 100382 bytes +SHA1 (patch-aa) = 2e92dc516c14c61eadadd742cdf88655e580bb8d diff --git a/net/nagios-nrpe/patches/patch-aa b/net/nagios-nrpe/patches/patch-aa new file mode 100644 index 00000000000..4ed6a917583 --- /dev/null +++ b/net/nagios-nrpe/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1 2006/06/04 11:06:51 joerg Exp $ + +--- src/nrpe.c.orig 2006-05-29 16:23:55.000000000 +0000 ++++ src/nrpe.c +@@ -1234,7 +1234,6 @@ int my_system(char *command,int timeout, + pid_t pid; + int status; + int result; +- extern int errno; + char buffer[MAX_INPUT_BUFFER]; + char temp_buffer[MAX_INPUT_BUFFER]; + int fd[2]; -- cgit v1.2.3