pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/filesystems/fuse-mp3fs Be smarter when parsing the arg...
details: https://anonhg.NetBSD.org/pkgsrc/rev/455aef45f9fd
branches: trunk
changeset: 561848:455aef45f9fd
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jul 17 10:43:21 2009 +0000
description:
Be smarter when parsing the argument for the bitrate.
Allows mounting directories with commas in them.
Bump PKGREVISION.
diffstat:
filesystems/fuse-mp3fs/Makefile | 3 ++-
filesystems/fuse-mp3fs/distinfo | 4 ++--
filesystems/fuse-mp3fs/patches/patch-aa | 13 +++++++++++--
3 files changed, 15 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r 6b1cf8ef364e -r 455aef45f9fd filesystems/fuse-mp3fs/Makefile
--- a/filesystems/fuse-mp3fs/Makefile Fri Jul 17 08:19:29 2009 +0000
+++ b/filesystems/fuse-mp3fs/Makefile Fri Jul 17 10:43:21 2009 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/17 10:43:21 wiz Exp $
#
DISTNAME= mp3fs-0.13
PKGNAME= fuse-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= filesystems
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3fs/}
diff -r 6b1cf8ef364e -r 455aef45f9fd filesystems/fuse-mp3fs/distinfo
--- a/filesystems/fuse-mp3fs/distinfo Fri Jul 17 08:19:29 2009 +0000
+++ b/filesystems/fuse-mp3fs/distinfo Fri Jul 17 10:43:21 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
+$NetBSD: distinfo,v 1.2 2009/07/17 10:43:21 wiz Exp $
SHA1 (mp3fs-0.13.tar.gz) = b246bd747a32256cb8364b7ac0cc8b7a4e1d3f74
RMD160 (mp3fs-0.13.tar.gz) = 6ad1126ee22b35fe4987dd6addbc41a25c74a508
Size (mp3fs-0.13.tar.gz) = 301642 bytes
-SHA1 (patch-aa) = 7fb2cfc0fa9d3afcd42a98cd73f5834f94245141
+SHA1 (patch-aa) = b4554994bb9949c645ba07f43615c78004fc9895
SHA1 (patch-ab) = 9b259b045decb4556dd72eeb65e0275554a93b6f
diff -r 6b1cf8ef364e -r 455aef45f9fd filesystems/fuse-mp3fs/patches/patch-aa
--- a/filesystems/fuse-mp3fs/patches/patch-aa Fri Jul 17 08:19:29 2009 +0000
+++ b/filesystems/fuse-mp3fs/patches/patch-aa Fri Jul 17 10:43:21 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/17 10:43:21 wiz Exp $
---- src/mp3fs.c.orig 2008-12-14 05:17:35.000000000 +0000
+--- src/mp3fs.c.orig 2008-12-14 06:17:35.000000000 +0100
+++ src/mp3fs.c
@@ -30,7 +30,11 @@
#include <fcntl.h>
@@ -40,3 +40,12 @@
if(res == -1)
return -errno;
+@@ -252,7 +265,7 @@ int main(int argc, char *argv[]) {
+ basepath = argv[1];
+ bitrate = 0;
+
+- rate = strchr(basepath, ',');
++ rate = strrchr(basepath, ',');
+ if(rate) {
+ rate[0] = '\0';
+ bitrate = atoi(rate + 1);
Home |
Main Index |
Thread Index |
Old Index