summaryrefslogtreecommitdiff
path: root/multimedia/libdvdread
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-05-18 15:51:21 +0000
committerdrochner <drochner@pkgsrc.org>2004-05-18 15:51:21 +0000
commit13abb98b2eb0a8d36901f9e645bc08fdf5f0f3ab (patch)
tree37433b11d107685ffb719e871278c69419d5fb34 /multimedia/libdvdread
parent94c11adeafcbaf076b1dc0356c1cb7b3e36d9b50 (diff)
downloadpkgsrc-13abb98b2eb0a8d36901f9e645bc08fdf5f0f3ab.tar.gz
fix inverse logics in block->character dev conversion
Diffstat (limited to 'multimedia/libdvdread')
-rw-r--r--multimedia/libdvdread/distinfo3
-rw-r--r--multimedia/libdvdread/patches/patch-ab13
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" */