pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/mpg321 mpg321 likes to leave files open, but I d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56a69fa870f6
branches:  trunk
changeset: 532165:56a69fa870f6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Aug 13 06:31:36 2007 +0000

description:
mpg321 likes to leave files open, but I don't like that. PKGREVISION++

diffstat:

 audio/mpg321/Makefile         |   4 ++--
 audio/mpg321/distinfo         |   4 ++--
 audio/mpg321/patches/patch-aa |  19 ++++++++++++++-----
 3 files changed, 18 insertions(+), 9 deletions(-)

diffs (63 lines):

diff -r 717ab6d6b4e1 -r 56a69fa870f6 audio/mpg321/Makefile
--- a/audio/mpg321/Makefile     Mon Aug 13 06:14:47 2007 +0000
+++ b/audio/mpg321/Makefile     Mon Aug 13 06:31:36 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:12 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2007/08/13 06:31:36 rillig Exp $
 
 DISTNAME=      mpg321-0.2.10
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mpg321/}
 
diff -r 717ab6d6b4e1 -r 56a69fa870f6 audio/mpg321/distinfo
--- a/audio/mpg321/distinfo     Mon Aug 13 06:14:47 2007 +0000
+++ b/audio/mpg321/distinfo     Mon Aug 13 06:31:36 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 20:39:49 agc Exp $
+$NetBSD: distinfo,v 1.4 2007/08/13 06:31:37 rillig Exp $
 
 SHA1 (mpg321-0.2.10.tar.gz) = 90268d0d187ddd7625d143b95791cb39a1630b79
 RMD160 (mpg321-0.2.10.tar.gz) = c0867e6ca7c0a5e2ff006e0c3aa866d2fde529ba
 Size (mpg321-0.2.10.tar.gz) = 113449 bytes
-SHA1 (patch-aa) = 28b16b6ffe9a4124323bfdbb26d79d79e5e1b8f3
+SHA1 (patch-aa) = d91d4af6219517fcb95da37b1a7abc05a3e312b2
diff -r 717ab6d6b4e1 -r 56a69fa870f6 audio/mpg321/patches/patch-aa
--- a/audio/mpg321/patches/patch-aa     Mon Aug 13 06:14:47 2007 +0000
+++ b/audio/mpg321/patches/patch-aa     Mon Aug 13 06:31:36 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1 2004/01/07 16:54:12 tron Exp $
+$NetBSD: patch-aa,v 1.2 2007/08/13 06:31:37 rillig Exp $
 
---- mpg321.c.orig      Sun Mar 24 06:49:20 2002
-+++ mpg321.c   Wed Jan  7 17:47:33 2004
-@@ -188,7 +188,7 @@
+--- mpg321.c.orig      2002-03-24 06:49:20.000000000 +0100
++++ mpg321.c   2007-06-15 14:26:24.000000000 +0200
+@@ -188,7 +188,7 @@ static int show_id3(struct id3_tag const
              
              else
              {
@@ -11,7 +11,7 @@
                  free(names[i]);
              }
          }
-@@ -203,7 +203,7 @@
+@@ -203,7 +203,7 @@ static int show_id3(struct id3_tag const
              if (!names[i])  {
                  fprintf (stderr, emptystring);
              }   else    {
@@ -20,3 +20,12 @@
                  free (names[i]);
              }
              if (i%2) fprintf (stderr, "\n");
+@@ -435,6 +435,8 @@ int main(int argc, char *argv[])
+                 mpg321_error(currentfile);
+                 continue;
+             }
++
++          (void)close(fd);
+             
+             playbuf.frames[0] = playbuf.buf;
+             



Home | Main Index | Thread Index | Old Index