diff options
author | simonb <simonb@pkgsrc.org> | 2003-12-23 09:52:11 +0000 |
---|---|---|
committer | simonb <simonb@pkgsrc.org> | 2003-12-23 09:52:11 +0000 |
commit | 220cb7f56ef3e87e9568a9179ac11dc617e0d4b6 (patch) | |
tree | af10c128158cc44e07dfe995fa41dc2fdda86cb5 /audio | |
parent | d1b82e8c55a70697fc0e1b3b25cadf442032d8ce (diff) | |
download | pkgsrc-220cb7f56ef3e87e9568a9179ac11dc617e0d4b6.tar.gz |
Plug two file descriptor links.
The xmms-mad author has been sent these patches.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmms-mad/distinfo | 5 | ||||
-rw-r--r-- | audio/xmms-mad/patches/patch-aa | 15 | ||||
-rw-r--r-- | audio/xmms-mad/patches/patch-ac | 14 |
3 files changed, 29 insertions, 5 deletions
diff --git a/audio/xmms-mad/distinfo b/audio/xmms-mad/distinfo index faef9d6b4d2..994b827b305 100644 --- a/audio/xmms-mad/distinfo +++ b/audio/xmms-mad/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2003/12/17 03:27:17 simonb Exp $ +$NetBSD: distinfo,v 1.4 2003/12/23 09:52:11 simonb Exp $ SHA1 (xmms-mad-0.5.5.tar.gz) = f571d049821b72bf5fe49fb9c58d71aefa01057e Size (xmms-mad-0.5.5.tar.gz) = 307441 bytes -SHA1 (patch-aa) = a57d21ec514762b5ac6e2555282e07ad00979910 +SHA1 (patch-aa) = e92ed1f948efab64fed029102e563fe1aab9463d SHA1 (patch-ab) = 169850b0f96e2097824ef6d8a48a2c7cad815780 +SHA1 (patch-ac) = fb3d1674cc281f907e53069ef252d56e5ec0a95f diff --git a/audio/xmms-mad/patches/patch-aa b/audio/xmms-mad/patches/patch-aa index 0d941025ca0..4566ffb5252 100644 --- a/audio/xmms-mad/patches/patch-aa +++ b/audio/xmms-mad/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2002/10/27 07:31:12 rh Exp $ +$NetBSD: patch-aa,v 1.3 2003/12/23 09:52:11 simonb Exp $ ---- src/decoder.c.orig Fri May 10 00:53:45 2002 +--- src/decoder.c.orig Fri May 30 21:31:35 2003 +++ src/decoder.c -@@ -205,6 +205,9 @@ decode (void *arg) +@@ -260,6 +260,9 @@ decode (void *arg) /* main loop */ do { @@ -12,3 +12,12 @@ $NetBSD: patch-aa,v 1.2 2002/10/27 07:31:12 rh Exp $ if (info->stop) break; if (seek_skip) +@@ -416,6 +419,8 @@ decode (void *arg) + #endif /* DEBUG */ + + mad_plugin.output->close_audio (); ++ close (info->infile); ++ info->infile = 0; + info->stop = 1; + pthread_exit (0); + } diff --git a/audio/xmms-mad/patches/patch-ac b/audio/xmms-mad/patches/patch-ac new file mode 100644 index 00000000000..e24d049c83f --- /dev/null +++ b/audio/xmms-mad/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1 2003/12/23 09:52:11 simonb Exp $ + +--- src/input.c.orig Thu Sep 25 04:01:50 2003 ++++ src/input.c +@@ -447,6 +447,9 @@ input_read_tag (struct mad_info_t *info) + if (title_input->genre) g_free (title_input->genre); + if (title_input->comment) g_free (title_input->comment); + g_free (title_input); ++ ++ id3_file_close (info->id3file); ++ info->id3file = NULL; + } + + /** |