Skip to contentSkip to conversation

pulseaudio: Fixing the configure_append.

PATCH New Sujith H 1 participant 1 message May 27, 2013

lore
Share & tools
lore

Sujith H

author
#0 lore raw

PATCH 1/1 pulseaudio: Fixing the configure_append.

Providing absolute path to avoid breakage during configure. This patch has to be applied on branch 4.0

---
 recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend +5 -5
index 1239f5c..849aeb0 100644
@@ -1,4 +1,4 @@
-PRINC := "${@int(PRINC) + 4}"
+PRINC := "${@int(PRINC) + 5}"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
@@ -26,9 +26,9 @@ do_configure_append () {
 	# udev_get_dev_path(), udev_get_sys_path(), udev_get_run_path()
 	# systemd does not allow to configure any of these filesystem paths
 	# udev is included in systemd
-	sed -i 's:udev_get_sys_path(udev):"/sys":' src/modules/module-udev-detect.c
-	sed -i 's:udev_get_sys_path(udev):"/sys":' src/modules/udev-util.c
-	sed -i 's:udev_get_dev_path(u->udev):"/dev":' src/modules/module-udev-detect.c
+	sed -i 's:udev_get_sys_path(udev):"/sys":' ${S}/src/modules/module-udev-detect.c
+	sed -i 's:udev_get_sys_path(udev):"/sys":' ${S}/src/modules/udev-util.c
+	sed -i 's:udev_get_dev_path(u->udev):"/dev":' ${S}/src/modules/module-udev-detect.c
 }
 
 do_install_append() {
@@ -36,4 +36,4 @@ do_install_append() {
         install -d ${D}${systemd_unitdir}/system/
         install -m 0644 ${WORKDIR}/pulseaudio.service ${D}${systemd_unitdir}/system
     fi
-}
\ No newline at end of file
+}
Signature · 1 line
1.8.1.4