summaryrefslogtreecommitdiffstats
path: root/meta-openmoko/packages/pulseaudio/files/fix-shm.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-06 09:10:40 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-06 09:10:40 +0000
commit65ff103fd8fed0b8980715cdbbe4723302f69beb (patch)
tree740143a5017d3bb77c12e5cdb5bf064ce88ebc54 /meta-openmoko/packages/pulseaudio/files/fix-shm.patch
parentb6f01d320574f806d83e6307abc21e531da3f3e3 (diff)
downloadpoky-65ff103fd8fed0b8980715cdbbe4723302f69beb.tar.gz
pulseaudio: add forgotten patches
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4597 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-openmoko/packages/pulseaudio/files/fix-shm.patch')
-rw-r--r--meta-openmoko/packages/pulseaudio/files/fix-shm.patch20
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
3Index: 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;