aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2002-06-10 18:46:45 +0800
committerjkoshy <jkoshy@FreeBSD.org>2002-06-10 18:46:45 +0800
commit5ed7f50a4e85a31567f7e0a1a8cb42edbc71483d (patch)
tree5674e82f7b7bd8785cb8a2ddc5eae7d131e7b861 /audio
parentac59191edabde2e4ad7d59c3bda70094a51e52a1 (diff)
downloadfreebsd-ports-gnome-5ed7f50a4e85a31567f7e0a1a8cb42edbc71483d.tar.gz
freebsd-ports-gnome-5ed7f50a4e85a31567f7e0a1a8cb42edbc71483d.tar.zst
freebsd-ports-gnome-5ed7f50a4e85a31567f7e0a1a8cb42edbc71483d.zip
Fix a bug that was preventing freeamp from playing RTP (multicast)
streams. Bump PORTREVISION.
Diffstat (limited to 'audio')
-rw-r--r--audio/freeamp/Makefile2
-rw-r--r--audio/freeamp/files/patch-io-obs-obsinput.cpp18
-rw-r--r--audio/zinf/Makefile2
-rw-r--r--audio/zinf/files/patch-io-obs-obsinput.cpp18
4 files changed, 38 insertions, 2 deletions
diff --git a/audio/freeamp/Makefile b/audio/freeamp/Makefile
index 681f8ca98446..bb277f8b34af 100644
--- a/audio/freeamp/Makefile
+++ b/audio/freeamp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= freeamp
PORTVERSION= 2.1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://www.freeamp.org/download/src/
diff --git a/audio/freeamp/files/patch-io-obs-obsinput.cpp b/audio/freeamp/files/patch-io-obs-obsinput.cpp
new file mode 100644
index 000000000000..0da21a444dad
--- /dev/null
+++ b/audio/freeamp/files/patch-io-obs-obsinput.cpp
@@ -0,0 +1,18 @@
+--- io/obs/obsinput.cpp-- Thu Oct 5 17:17:33 2000
++++ io/obs/obsinput.cpp Sun Jun 9 16:13:16 2002
+@@ -193,6 +193,7 @@
+
+ m_pSin = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in));
+ assert(m_pSin);
++ (void) memset(m_pSin, 0, sizeof(*m_pSin));
+
+ iReuse = 1;
+ m_pSin->sin_family = AF_INET;
+@@ -213,6 +214,7 @@
+ else
+ m_pSin->sin_addr.s_addr = htonl(INADDR_ANY);
+
++ (void) memset(&sMreq, 0, sizeof(sMreq));
+ sMreq.imr_multiaddr.s_addr = inet_addr(szAddr);
+ sMreq.imr_interface.s_addr = htonl(INADDR_ANY);
+ if (IN_MULTICAST(ntohl(sMreq.imr_multiaddr.s_addr)))
diff --git a/audio/zinf/Makefile b/audio/zinf/Makefile
index 681f8ca98446..bb277f8b34af 100644
--- a/audio/zinf/Makefile
+++ b/audio/zinf/Makefile
@@ -7,7 +7,7 @@
PORTNAME= freeamp
PORTVERSION= 2.1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://www.freeamp.org/download/src/
diff --git a/audio/zinf/files/patch-io-obs-obsinput.cpp b/audio/zinf/files/patch-io-obs-obsinput.cpp
new file mode 100644
index 000000000000..0da21a444dad
--- /dev/null
+++ b/audio/zinf/files/patch-io-obs-obsinput.cpp
@@ -0,0 +1,18 @@
+--- io/obs/obsinput.cpp-- Thu Oct 5 17:17:33 2000
++++ io/obs/obsinput.cpp Sun Jun 9 16:13:16 2002
+@@ -193,6 +193,7 @@
+
+ m_pSin = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in));
+ assert(m_pSin);
++ (void) memset(m_pSin, 0, sizeof(*m_pSin));
+
+ iReuse = 1;
+ m_pSin->sin_family = AF_INET;
+@@ -213,6 +214,7 @@
+ else
+ m_pSin->sin_addr.s_addr = htonl(INADDR_ANY);
+
++ (void) memset(&sMreq, 0, sizeof(sMreq));
+ sMreq.imr_multiaddr.s_addr = inet_addr(szAddr);
+ sMreq.imr_interface.s_addr = htonl(INADDR_ANY);
+ if (IN_MULTICAST(ntohl(sMreq.imr_multiaddr.s_addr)))