diff options
Diffstat (limited to 'meta-openmoko/packages/pulseaudio/files/fix-shm.patch')
-rw-r--r-- | meta-openmoko/packages/pulseaudio/files/fix-shm.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-openmoko/packages/pulseaudio/files/fix-shm.patch b/meta-openmoko/packages/pulseaudio/files/fix-shm.patch new file mode 100644 index 0000000000..3bf61d0d34 --- /dev/null +++ b/meta-openmoko/packages/pulseaudio/files/fix-shm.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | # fixes building against uclibc | ||
2 | # fixed upstream, see http://www.pulseaudio.org/ticket/200 | ||
3 | Index: pulseaudio-0.9.9/src/pulsecore/shm.c | ||
4 | =================================================================== | ||
5 | --- pulseaudio-0.9.9/src/pulsecore/shm.c (revision 1971) | ||
6 | +++ pulseaudio-0.9.9/src/pulsecore/shm.c (revision 2110) | ||
7 | @@ -319,4 +319,5 @@ | ||
8 | int pa_shm_cleanup(void) { | ||
9 | |||
10 | +#ifdef HAVE_SHM_OPEN | ||
11 | #ifdef SHM_PATH | ||
12 | DIR *d; | ||
13 | @@ -376,5 +377,6 @@ | ||
14 | |||
15 | closedir(d); | ||
16 | -#endif | ||
17 | +#endif /* SHM_PATH */ | ||
18 | +#endif /* HAVE_SHM_OPEN */ | ||
19 | |||
20 | return 0; | ||