pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/moc Apply patch from rivo nurges to eliminate aw...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eae62120be8b
branches: trunk
changeset: 503365:eae62120be8b
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Sat Nov 19 10:55:37 2005 +0000
description:
Apply patch from rivo nurges to eliminate awful memory leak when
playing internet streams with moc.
Thanks to rivo nurges and Peter Schuller (Maintainer).
Bump PKGREVISION.
diffstat:
audio/moc/Makefile | 3 ++-
audio/moc/distinfo | 3 ++-
audio/moc/patches/patch-aa | 23 +++++++++++++++++++++++
3 files changed, 27 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r cb461fcea668 -r eae62120be8b audio/moc/Makefile
--- a/audio/moc/Makefile Sat Nov 19 10:47:45 2005 +0000
+++ b/audio/moc/Makefile Sat Nov 19 10:55:37 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/09/26 23:17:32 xtraeme Exp $
+# $NetBSD: Makefile,v 1.2 2005/11/19 10:55:37 xtraeme Exp $
DISTNAME= moc-2.3.2
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.daper.net/pub/soft/moc/stable/
EXTRACT_SUFX= .tar.bz2
diff -r cb461fcea668 -r eae62120be8b audio/moc/distinfo
--- a/audio/moc/distinfo Sat Nov 19 10:47:45 2005 +0000
+++ b/audio/moc/distinfo Sat Nov 19 10:55:37 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/09/26 23:17:32 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2005/11/19 10:55:37 xtraeme Exp $
SHA1 (moc-2.3.2.tar.bz2) = ca1a331ea9ea3699d76d4771416587190a814516
RMD160 (moc-2.3.2.tar.bz2) = 1da768dbb625bbeedd960eb7c09c0113eeba7482
Size (moc-2.3.2.tar.bz2) = 406058 bytes
+SHA1 (patch-aa) = abf10af1869428886f6616c5fc54a424474efd18
diff -r cb461fcea668 -r eae62120be8b audio/moc/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/moc/patches/patch-aa Sat Nov 19 10:55:37 2005 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1 2005/11/19 10:55:37 xtraeme Exp $
+
+--- player.c.orig 2005-09-09 08:20:13.000000000 +0000
++++ player.c
+@@ -355,7 +355,7 @@ static void show_tags (const struct file
+ static void update_tags (const struct decoder *f, void *decoder_data,
+ struct io_stream *s)
+ {
+- char *stream_title;
++ char *stream_title = NULL;
+ int tags_changed = 0;
+ struct file_tags *new_tags;
+
+@@ -378,6 +378,8 @@ static void update_tags (const struct de
+ show_tags (curr_tags);
+ tags_changed = 1;
+ }
++ else if (stream_title)
++ free (stream_title);
+
+ if (tags_changed)
+ tags_change ();
+
Home |
Main Index |
Thread Index |
Old Index