diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-03-28 15:39:27 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-03-28 15:39:27 +0000 |
commit | a61d0ff5bdb2c9006f5e35d70cea3f74f66231d1 (patch) | |
tree | 4e44f1145efcaddb699103059486b808ef9444fb | |
parent | c387c55213338679b3dee7c4e6c97f01b4806c6a (diff) |
pulseaudio 0.9.9 fix building against uClibc. closes #4106
-rw-r--r-- | packages/pulseaudio/files/fix-shm.patch | 20 | ||||
-rw-r--r-- | packages/pulseaudio/pulseaudio_0.9.9.bb | 4 |
2 files changed, 22 insertions, 2 deletions
diff --git a/packages/pulseaudio/files/fix-shm.patch b/packages/pulseaudio/files/fix-shm.patch new file mode 100644 index 0000000000..3bf61d0d34 --- /dev/null +++ b/packages/pulseaudio/files/fix-shm.patch @@ -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; diff --git a/packages/pulseaudio/pulseaudio_0.9.9.bb b/packages/pulseaudio/pulseaudio_0.9.9.bb index 7e63b61eb3..f38595e5dd 100644 --- a/packages/pulseaudio/pulseaudio_0.9.9.bb +++ b/packages/pulseaudio/pulseaudio_0.9.9.bb @@ -1,15 +1,15 @@ 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) |