aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-05-23 05:08:05 +0800
committerpat <pat@FreeBSD.org>2002-05-23 05:08:05 +0800
commit61e8676cc6fd004aed7b460fe069f945c9100c76 (patch)
tree9df46470716d2434266f9e2cbfed78572158279c /net
parenta1ab1ec52d6cd564cb3c88c77c00e27fc2a9abcc (diff)
downloadfreebsd-ports-graphics-61e8676cc6fd004aed7b460fe069f945c9100c76.tar.gz
freebsd-ports-graphics-61e8676cc6fd004aed7b460fe069f945c9100c76.tar.zst
freebsd-ports-graphics-61e8676cc6fd004aed7b460fe069f945c9100c76.zip
Fix socket leak and bump PORTREVISION.
PR: 38370 Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/wmwave/Makefile11
-rw-r--r--net/wmwave/files/patch-wmwave.c7
2 files changed, 10 insertions, 8 deletions
diff --git a/net/wmwave/Makefile b/net/wmwave/Makefile
index a475957f913..4382ff9cf04 100644
--- a/net/wmwave/Makefile
+++ b/net/wmwave/Makefile
@@ -5,14 +5,15 @@
# $FreeBSD$
#
-PORTNAME= wmwave
-PORTVERSION= 0.4
-CATEGORIES= net
-MASTER_SITES= http://www.schuermann.org/~dockapps/dist/
+PORTNAME= wmwave
+PORTVERSION= 0.4
+PORTREVISION= 1
+CATEGORIES= net
+MASTER_SITES= http://www.schuermann.org/~dockapps/dist/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/}
EXTRACT_SUFX= .tgz
-MAINTAINER= bms@spc.org
+MAINTAINER= bms@spc.org
MAKEFILE= ${FILESDIR}/Makefile
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/net/wmwave/files/patch-wmwave.c b/net/wmwave/files/patch-wmwave.c
index e06c0b92cbf..d48244cb52d 100644
--- a/net/wmwave/files/patch-wmwave.c
+++ b/net/wmwave/files/patch-wmwave.c
@@ -1,5 +1,5 @@
---- wmwave.c.orig Fri Aug 20 09:44:21 1999
-+++ wmwave.c Wed Mar 27 03:31:16 2002
+--- wmwave.c.orig Fri Aug 20 14:44:21 1999
++++ wmwave.c Tue May 21 11:05:44 2002
@@ -1,38 +1,21 @@
/*
+ * $Id$
@@ -52,7 +52,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
-@@ -45,313 +28,393 @@
+@@ -45,313 +28,394 @@
#include <limits.h>
#include <errno.h>
#include <signal.h>
@@ -406,6 +406,7 @@
+ DrawGreenBar(0.0, 4, 55);
+ break;
+ };
++ close(s);
+}
+
+void