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 /packages/pulseaudio/files | |
parent | c387c55213338679b3dee7c4e6c97f01b4806c6a (diff) |
pulseaudio 0.9.9 fix building against uClibc. closes #4106
Diffstat (limited to 'packages/pulseaudio/files')
-rw-r--r-- | packages/pulseaudio/files/fix-shm.patch | 20 |
1 files changed, 20 insertions, 0 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; |