ports/161567: [PATCH] audio/pulseaudio: pkg_delete(1) removed
forgotten
John Hein
jhein at symmetricom.com
Fri Oct 14 14:40:04 UTC 2011
The following reply was made to PR ports/161567; it has been noted by GNATS.
From: John Hein <jhein at symmetricom.com>
To: freebsd-gnats-submit at freebsd.org
Cc: takefu at airport.fm, gnome at freebsd.org
Subject: Re: ports/161567: [PATCH] audio/pulseaudio: pkg_delete(1) removed forgotten
Date: Fri, 14 Oct 2011 08:36:57 -0600
--zopAT37rvS
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit
gnats wrote:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=161567
To save someone the trouble of hunting this down, the evdev module
gets built/installed if multimedia/v4l_compat is installed.
pulseaudio's looks for linux/input.h to decide whether to build the
evdev module.
As such, the existence of linux/input.h is not really a good
indication of a working evdev.
In any case, the patch to hard-code evdev in pkg-plist is not
appropriate at this time since installations that don't have
multimedia/v4l_compat will have a broken plist as well (the evdev
module won't be installed but the plist will say it is).
An alternate workaround would be to add the attached hunk to
files/patch-configure to forcibly tell it there is no evdev on
freebsd...
--zopAT37rvS
Content-Type: text/plain;
name="p"
Content-Description: force pulseaudio's configure to turn off evdev support
Content-Disposition: inline;
filename="p"
Content-Transfer-Encoding: 7bit
--- configure.orig 2010-11-25 17:59:05.000000000 -0700
+++ configure 2011-10-14 08:11:20.000000000 -0600
@@ -12854,6 +12854,7 @@
# Linux
for ac_header in linux/input.h
do :
+ break # [***]
ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
if test "x$ac_cv_header_linux_input_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
@@ -12865,6 +12866,9 @@
fi
done
+# [***] FreeBSD has no evdev driver at this point, but multimedia/compat_v4l
+# installs linux/input.h
+HAVE_EVDEV=0
if test "x$HAVE_EVDEV" = "x1"; then
--zopAT37rvS--
More information about the freebsd-gnome
mailing list