summaryrefslogtreecommitdiff
path: root/multimedia/libdvdread
diff options
context:
space:
mode:
authordrochner <drochner>2004-05-18 15:51:21 +0000
committerdrochner <drochner>2004-05-18 15:51:21 +0000
commit6c768d44ba67cff2b706ce562ff73a911ad8421a (patch)
tree37433b11d107685ffb719e871278c69419d5fb34 /multimedia/libdvdread
parent5e0bee5f500d9032145241216d2dac364cbe8fc6 (diff)
downloadpkgsrc-6c768d44ba67cff2b706ce562ff73a911ad8421a.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" */