summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-08-13 06:31:36 +0000
committerrillig <rillig@pkgsrc.org>2007-08-13 06:31:36 +0000
commitdcbf77dcdad72547f0e7196900971dfffcb7ae6e (patch)
tree4a2e5331adeb70b33365d0e6cb6c0c85938d51a9
parentabf87f9a8c04204ce676ffc68d3c2b5c4af5784e (diff)
downloadpkgsrc-dcbf77dcdad72547f0e7196900971dfffcb7ae6e.tar.gz
mpg321 likes to leave files open, but I don't like that. PKGREVISION++
-rw-r--r--audio/mpg321/Makefile4
-rw-r--r--audio/mpg321/distinfo4
-rw-r--r--audio/mpg321/patches/patch-aa19
3 files changed, 18 insertions, 9 deletions
diff --git a/audio/mpg321/Makefile b/audio/mpg321/Makefile
index 0e9951fd851..9e3f1fa21d0 100644
--- a/audio/mpg321/Makefile
+++ b/audio/mpg321/Makefile
@@ -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 --git a/audio/mpg321/distinfo b/audio/mpg321/distinfo
index 598dac81673..2424b728a84 100644
--- a/audio/mpg321/distinfo
+++ b/audio/mpg321/distinfo
@@ -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 --git a/audio/mpg321/patches/patch-aa b/audio/mpg321/patches/patch-aa
index 448df21b471..f46788aef38 100644
--- a/audio/mpg321/patches/patch-aa
+++ b/audio/mpg321/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1 2004/01/07 16:54:12 tron Exp $
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 @@ $NetBSD: patch-aa,v 1.1 2004/01/07 16:54:12 tron Exp $
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;
+