diff options
author | joerg <joerg> | 2006-01-05 15:01:31 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-05 15:01:31 +0000 |
commit | 31bbb8368173f3042095f7cf2c56a857ab8113b9 (patch) | |
tree | 5d1e16b488987bcb235f91e541ed7269dcb6115a /multimedia | |
parent | 70e1fb727efa18686fb004309a17749d7427807a (diff) | |
download | pkgsrc-31bbb8368173f3042095f7cf2c56a857ab8113b9.tar.gz |
cdda_device_name doesn't exit on FreeBSD and DragonFly, use cam's
device_name instead.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gst-plugins/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gst-plugins/patches/patch-ak | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/multimedia/gst-plugins/distinfo b/multimedia/gst-plugins/distinfo index 45fd723ddb4..5c1d956f144 100644 --- a/multimedia/gst-plugins/distinfo +++ b/multimedia/gst-plugins/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.30 2005/12/18 22:54:57 rillig Exp $ +$NetBSD: distinfo,v 1.31 2006/01/05 15:01:31 joerg Exp $ SHA1 (gst-plugins-0.8.11.tar.bz2) = 4a9be6b62dd0e8a73616e8e93f7a3ace8aec8c59 RMD160 (gst-plugins-0.8.11.tar.bz2) = 833aec123a52cd0f36ec883c349cc8d69090d749 @@ -11,3 +11,4 @@ SHA1 (patch-ag) = 264ef4cb6a4fa8eb65ff55ca1c0947d3566a64b8 SHA1 (patch-ah) = 9df4c75c56f7fe29279f270ffc1cfa716fae1a98 SHA1 (patch-ai) = fbee2828dfda28f1e017552e0e2e273cf5d2670b SHA1 (patch-aj) = b0af98ac299f1b52387de14c5f3a0173efd7ca8f +SHA1 (patch-ak) = 9907506f1d7bab87d6857fc159bbe58b82b1b585 diff --git a/multimedia/gst-plugins/patches/patch-ak b/multimedia/gst-plugins/patches/patch-ak new file mode 100644 index 00000000000..7a5799aa2b6 --- /dev/null +++ b/multimedia/gst-plugins/patches/patch-ak @@ -0,0 +1,20 @@ +$NetBSD: patch-ak,v 1.1 2006/01/05 15:01:31 joerg Exp $ + +--- ext/cdparanoia/gstcdparanoia.c.orig 2006-01-05 14:39:04.000000000 +0000 ++++ ext/cdparanoia/gstcdparanoia.c +@@ -815,9 +815,15 @@ cdparanoia_open (CDParanoia * src) + + /* open the disc */ + if (cdda_open (src->d)) { ++#if defined(__FreeBSD__) || defined(__DragonFly__) ++ GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, ++ (_("Could not open CD device %s for reading."), ++ src->d->dev->device_name), ("cdda_open failed")); ++#else + GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, + (_("Could not open CD device %s for reading."), + src->d->cdda_device_name), ("cdda_open failed")); ++#endif + cdda_close (src->d); + src->d = NULL; + return FALSE; |