From 866aee89b82534f95da8fd3aced6760659125344 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 4 Feb 2001 17:46:07 +0000 Subject: Fix "Error: Destination host and port is proxy host and port." problem which was caused by insufficient code to duplicate a "struct hostent". Bump version number to 1.0.0.0nb1. --- net/ra-rtsp-proxy/Makefile | 4 ++-- net/ra-rtsp-proxy/files/patch-sum | 3 ++- net/ra-rtsp-proxy/patches/patch-ab | 12 ++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 net/ra-rtsp-proxy/patches/patch-ab (limited to 'net/ra-rtsp-proxy') diff --git a/net/ra-rtsp-proxy/Makefile b/net/ra-rtsp-proxy/Makefile index 6000212e125..91e30eb410a 100644 --- a/net/ra-rtsp-proxy/Makefile +++ b/net/ra-rtsp-proxy/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2001/02/04 16:58:57 tron Exp $ +# $NetBSD: Makefile,v 1.9 2001/02/04 17:46:07 tron Exp $ DISTNAME= rtspd-src-1.0.0.0 -PKGNAME= ra-rtsp-proxy-1.0.0.0 +PKGNAME= ra-rtsp-proxy-1.0.0.0nb1 CATEGORIES= net MASTER_SITES= # empty diff --git a/net/ra-rtsp-proxy/files/patch-sum b/net/ra-rtsp-proxy/files/patch-sum index 9906b60a276..b1b14981ab5 100644 --- a/net/ra-rtsp-proxy/files/patch-sum +++ b/net/ra-rtsp-proxy/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.1.1.1 1999/09/01 20:25:03 tron Exp $ +$NetBSD: patch-sum,v 1.2 2001/02/04 17:46:07 tron Exp $ MD5 (patch-aa) = 83d216b1b19cb9d8b9abfc4bc7308556 +MD5 (patch-ab) = ab856a61477936848cb572a436a7357d diff --git a/net/ra-rtsp-proxy/patches/patch-ab b/net/ra-rtsp-proxy/patches/patch-ab new file mode 100644 index 00000000000..42d7641dcc0 --- /dev/null +++ b/net/ra-rtsp-proxy/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2001/02/04 17:46:08 tron Exp $ + +--- main.c.orig Thu Jun 17 03:19:01 1999 ++++ main.c Sun Feb 4 18:38:53 2001 +@@ -605,6 +605,7 @@ + /* make a copy of the hostent structure */ + host2 = g_malloc (sizeof (struct hostent)); + memcpy (host2, host, sizeof (struct hostent)); ++ strcpy (host2->h_name = g_malloc (strlen(host->h_name) + 1), host->h_name); + + log_message (DEBUG_LOG, "DNS LOOKUP %s -> 0x%08lx", hostname, ip); + -- cgit v1.2.3