diff options
author | marcus <marcus@FreeBSD.org> | 2004-04-07 11:52:04 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-04-07 11:52:04 +0800 |
commit | bb683bb03ee71cbc602c603ee8049d730c32392e (patch) | |
tree | 7aebcd962085fe6ba1d7b486ef4bed1629585664 /multimedia/gstreamer-plugins80 | |
parent | cb0dee80994b6dcabfc6b5c80fa71ba310518b93 (diff) | |
download | freebsd-ports-gnome-bb683bb03ee71cbc602c603ee8049d730c32392e.tar.gz freebsd-ports-gnome-bb683bb03ee71cbc602c603ee8049d730c32392e.tar.zst freebsd-ports-gnome-bb683bb03ee71cbc602c603ee8049d730c32392e.zip |
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-plugins80')
-rw-r--r-- | multimedia/gstreamer-plugins80/Makefile | 1 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins80/files/patch-sys_oss_gstosselement.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile index 98c36098814c..c05ce0ce765a 100644 --- a/multimedia/gstreamer-plugins80/Makefile +++ b/multimedia/gstreamer-plugins80/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-plugins80/files/patch-sys_oss_gstosselement.c b/multimedia/gstreamer-plugins80/files/patch-sys_oss_gstosselement.c new file mode 100644 index 000000000000..a5e0e8b97526 --- /dev/null +++ b/multimedia/gstreamer-plugins80/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; |