[oe-commits] org.oe.dev pulseaudio 0.9.9 fix building against uClibc. closes #4106

mickeyl commit oe at amethyst.openembedded.net
Fri Mar 28 15:49:09 UTC 2008


pulseaudio 0.9.9 fix building against uClibc. closes #4106

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 9fdf613358c5efcdb75a30ee08729a9e2a7ade08
ViewMTN: http://monotone.openembedded.org/revision/info/9fdf613358c5efcdb75a30ee08729a9e2a7ade08
Files:
1
packages/pulseaudio/files/fix-shm.patch
packages/pulseaudio/pulseaudio_0.9.9.bb
Diffs:

#
# mt diff -r19f950ca4a0d912a0ac8680d3b82d52f11fc2cd0 -r9fdf613358c5efcdb75a30ee08729a9e2a7ade08
#
#
#
# add_file "packages/pulseaudio/files/fix-shm.patch"
#  content [fb4917430c3dda689c1c92774f519315a6978ad9]
# 
# patch "packages/pulseaudio/pulseaudio_0.9.9.bb"
#  from [a42f8d95ac47cb47a5e26144cc42a01d219a00e4]
#    to [08f85100dead2cfb44c8bb085f028384f5674e16]
#
============================================================
--- packages/pulseaudio/files/fix-shm.patch	fb4917430c3dda689c1c92774f519315a6978ad9
+++ packages/pulseaudio/files/fix-shm.patch	fb4917430c3dda689c1c92774f519315a6978ad9
@@ -0,0 +1,20 @@
+# fixes building against uclibc
+# fixed upstream, see http://www.pulseaudio.org/ticket/200
+Index: pulseaudio-0.9.9/src/pulsecore/shm.c
+===================================================================
+--- pulseaudio-0.9.9/src/pulsecore/shm.c (revision 1971)
++++ pulseaudio-0.9.9/src/pulsecore/shm.c (revision 2110)
+@@ -319,4 +319,5 @@
+ int pa_shm_cleanup(void) {
+ 
++#ifdef HAVE_SHM_OPEN
+ #ifdef SHM_PATH
+     DIR *d;
+@@ -376,5 +377,6 @@
+ 
+     closedir(d);
+-#endif
++#endif /* SHM_PATH */
++#endif /* HAVE_SHM_OPEN */
+ 
+     return 0;
============================================================
--- packages/pulseaudio/pulseaudio_0.9.9.bb	a42f8d95ac47cb47a5e26144cc42a01d219a00e4
+++ packages/pulseaudio/pulseaudio_0.9.9.bb	08f85100dead2cfb44c8bb085f028384f5674e16
@@ -1,15 +1,15 @@ DEPENDS += "dbus"
 require pulse.inc
 
 DEPENDS += "dbus"
+PR = "r4"
 
 # this is not correct (see below)
 SRC_URI += "\
   file://disable-using-glibc-tls.patch;patch=1 \
   file://fix-dbus-without-hal.patch;patch=1 \
+  file://fix-shm.patch;patch=1 \
 "            
 
-PR = "r3"
-
 # problems w/ pulseaudio 0.9.9 atm:
 # 1.) needs libltdl >= 1.5.24 (yes, any older version will NOT work at runtime)
 # 2.) doesn't build w/ glibc TLS support (hence patched out)






More information about the Openembedded-commits mailing list