pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-mad Plug two file descriptor links.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f90768eddef
branches:  trunk
changeset: 465171:9f90768eddef
user:      simonb <simonb%pkgsrc.org@localhost>
date:      Tue Dec 23 09:52:11 2003 +0000

description:
Plug two file descriptor links.

The xmms-mad author has been sent these patches.

diffstat:

 audio/xmms-mad/distinfo         |   5 +++--
 audio/xmms-mad/patches/patch-aa |  15 ++++++++++++---
 audio/xmms-mad/patches/patch-ac |  14 ++++++++++++++
 3 files changed, 29 insertions(+), 5 deletions(-)

diffs (59 lines):

diff -r f944c4b93db2 -r 9f90768eddef audio/xmms-mad/distinfo
--- a/audio/xmms-mad/distinfo   Tue Dec 23 09:15:54 2003 +0000
+++ b/audio/xmms-mad/distinfo   Tue Dec 23 09:52:11 2003 +0000
@@ -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 -r f944c4b93db2 -r 9f90768eddef audio/xmms-mad/patches/patch-aa
--- a/audio/xmms-mad/patches/patch-aa   Tue Dec 23 09:15:54 2003 +0000
+++ b/audio/xmms-mad/patches/patch-aa   Tue Dec 23 09:52:11 2003 +0000
@@ -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 @@
        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 -r f944c4b93db2 -r 9f90768eddef audio/xmms-mad/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-mad/patches/patch-ac   Tue Dec 23 09:52:11 2003 +0000
@@ -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;
+ }
+ 
+ /**



Home | Main Index | Thread Index | Old Index