diff options
author | marcus <marcus@FreeBSD.org> | 2004-04-07 03:52:04 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-04-07 03:52:04 +0000 |
commit | bb683bb03ee71cbc602c603ee8049d730c32392e (patch) | |
tree | 7aebcd962085fe6ba1d7b486ef4bed1629585664 /multimedia/gstreamer-plugins | |
parent | cb0dee80994b6dcabfc6b5c80fa71ba310518b93 (diff) | |
download | FreeBSD-ports-bb683bb03ee71cbc602c603ee8049d730c32392e.zip FreeBSD-ports-bb683bb03ee71cbc602c603ee8049d730c32392e.tar.gz |
Use stat instead of lstat to get DSP device information. This should fix
the problem where no mixer elements could be found.
Diffstat (limited to 'multimedia/gstreamer-plugins')
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile | 1 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/files/patch-sys_oss_gstosselement.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile index 98c3609..c05ce0c 100644 --- a/multimedia/gstreamer-plugins/Makefile +++ b/multimedia/gstreamer-plugins/Makefile @@ -7,6 +7,7 @@ PORTNAME= gstreamer PORTVERSION= 0.8.0 +PORTREVISION= 1 CATEGORIES= multimedia audio MASTER_SITES= ${MASTER_SITE_GNOME} \ http://gstreamer.freedesktop.org/src/gst-plugins/ diff --git a/multimedia/gstreamer-plugins/files/patch-sys_oss_gstosselement.c b/multimedia/gstreamer-plugins/files/patch-sys_oss_gstosselement.c new file mode 100644 index 0000000..a5e0e8b --- /dev/null +++ b/multimedia/gstreamer-plugins/files/patch-sys_oss_gstosselement.c @@ -0,0 +1,11 @@ +--- sys/oss/gstosselement.c.orig Tue Apr 6 23:48:29 2004 ++++ sys/oss/gstosselement.c Tue Apr 6 23:48:42 2004 +@@ -194,7 +194,7 @@ + goto end; + } + +- if (lstat (device, &s) || !S_ISCHR (s.st_mode)) ++ if (stat (device, &s) || !S_ISCHR (s.st_mode)) + goto end; + + *name = device; |