diff options
author | xtraeme <xtraeme> | 2005-11-19 10:55:37 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2005-11-19 10:55:37 +0000 |
commit | 334ae4c4ddf867d0ffcc37cfa920f350057bd509 (patch) | |
tree | 00221cf0fdcd94ead45239096d0a55035b6d3542 /audio/moc | |
parent | 7a2d4d356c0dde84002d7a65b22a555a8e1a589c (diff) | |
download | pkgsrc-334ae4c4ddf867d0ffcc37cfa920f350057bd509.tar.gz |
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 (limited to 'audio/moc')
-rw-r--r-- | audio/moc/Makefile | 3 | ||||
-rw-r--r-- | audio/moc/distinfo | 3 | ||||
-rw-r--r-- | audio/moc/patches/patch-aa | 23 |
3 files changed, 27 insertions, 2 deletions
diff --git a/audio/moc/Makefile b/audio/moc/Makefile index 5aa01c5d402..0b34ac2079b 100644 --- a/audio/moc/Makefile +++ b/audio/moc/Makefile @@ -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 --git a/audio/moc/distinfo b/audio/moc/distinfo index 266a09c088a..4497afaa4ec 100644 --- a/audio/moc/distinfo +++ b/audio/moc/distinfo @@ -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 --git a/audio/moc/patches/patch-aa b/audio/moc/patches/patch-aa new file mode 100644 index 00000000000..b4eab15f6b1 --- /dev/null +++ b/audio/moc/patches/patch-aa @@ -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 (); + |