Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 316871 Details for
Bug 423411
media-sound/pulseaudio-2.0-r1 USE="udev" fails to compile with udev-185 (systemd-185)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pulseaudio-2.0 remove_udev_get_usage
pulseaudio-2.0-remove_udev_get_usage.patch (text/plain), 1.09 KB, created by
Maksim 'max_posedon' Melnikau
on 2012-07-01 13:57:37 UTC
(
hide
)
Description:
pulseaudio-2.0 remove_udev_get_usage
Filename:
MIME Type:
Creator:
Maksim 'max_posedon' Melnikau
Created:
2012-07-01 13:57:37 UTC
Size:
1.09 KB
patch
obsolete
>--- pulseaudio-2.0/src/modules/module-udev-detect.c.old 2012-07-01 16:39:05.434446236 +0300 >+++ pulseaudio-2.0/src/modules/module-udev-detect.c 2012-07-01 16:40:41.379448462 +0300 >@@ -123,7 +123,7 @@ > goto finish; > } > >- t = pa_sprintf_malloc("%s/class/sound/card%s", udev_get_sys_path(udev), card_idx); >+ t = pa_sprintf_malloc("/sys/class/sound/card%s", card_idx); > card = udev_device_new_from_syspath(udev, t); > pa_xfree(t); > >@@ -282,7 +282,7 @@ > pa_assert(u); > pa_assert(d); > >- cd = pa_sprintf_malloc("%s/snd/controlC%s", udev_get_dev_path(u->udev), path_get_card_id(d->path)); >+ cd = pa_sprintf_malloc("/dev/snd/controlC%s", path_get_card_id(d->path)); > accessible = access(cd, R_OK|W_OK) >= 0; > pa_log_debug("%s is accessible: %s", cd, pa_yes_no(accessible)); > >@@ -632,7 +632,7 @@ > return -1; > } > >- dev_snd = pa_sprintf_malloc("%s/snd", udev_get_dev_path(u->udev)); >+ dev_snd = pa_sprintf_malloc("/dev/snd"); > r = inotify_add_watch(u->inotify_fd, dev_snd, IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF); > pa_xfree(dev_snd); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 423411
:
316191
|
316871
|
316873
|
316877