diff options
author | drochner <drochner@pkgsrc.org> | 2004-05-18 15:51:21 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2004-05-18 15:51:21 +0000 |
commit | 135e9c9d4a42470d8184f27c5e771493a111185c (patch) | |
tree | 37433b11d107685ffb719e871278c69419d5fb34 /multimedia | |
parent | e713f53091d1489baf7a5628f12b6729b8725b49 (diff) | |
download | pkgsrc-135e9c9d4a42470d8184f27c5e771493a111185c.tar.gz |
fix inverse logics in block->character dev conversion
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libdvdread/distinfo | 3 | ||||
-rw-r--r-- | multimedia/libdvdread/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/multimedia/libdvdread/distinfo b/multimedia/libdvdread/distinfo index 8f467bfa66e..a87ab8243fd 100644 --- a/multimedia/libdvdread/distinfo +++ b/multimedia/libdvdread/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ +$NetBSD: distinfo,v 1.2 2004/05/18 15:51:21 drochner Exp $ SHA1 (libdvdread-0.9.4.tar.gz) = a4b626e49ba8bd33857693c3abe8b34196bc3360 Size (libdvdread-0.9.4.tar.gz) = 256858 bytes SHA1 (patch-aa) = 9e508363db5fe7233d6074fdc2404e4618e78ff2 +SHA1 (patch-ab) = 2ad034555918259e6b9a3048656eddedb223d55b diff --git a/multimedia/libdvdread/patches/patch-ab b/multimedia/libdvdread/patches/patch-ab new file mode 100644 index 00000000000..06f740363ec --- /dev/null +++ b/multimedia/libdvdread/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2004/05/18 15:51:21 drochner Exp $ + +--- dvdread/dvd_reader.c.orig 2004-05-18 15:53:26.000000000 +0200 ++++ dvdread/dvd_reader.c +@@ -282,7 +282,7 @@ static char *bsd_block2char( const char + char *new_path; + + /* If it doesn't start with "/dev/" or does start with "/dev/r" exit */ +- if( !strncmp( path, "/dev/", 5 ) || strncmp( path, "/dev/r", 6 ) ) ++ if( strncmp( path, "/dev/", 5 ) || !strncmp( path, "/dev/r", 6 ) ) + return (char *) strdup( path ); + + /* Replace "/dev/" with "/dev/r" */ |