diff options
author | Rod Whitby <rod@whitby.id.au> | 2008-03-29 03:00:12 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2008-03-29 03:00:12 +0000 |
commit | d3305bd33e0e4ebe3907018393ddf1176a3369d6 (patch) | |
tree | 9f04c0be14ffff90eecd4d14dff9f976dcddcc6e /packages/pulseaudio/files/fix-shm.patch | |
parent | 610d30a507a71fd8b3fd1b4f01bc146d3f8fd143 (diff) | |
parent | 7d9e53a4342fb5a025bdaacecbc6457bdba1c6cc (diff) |
merge of '641cb531f5b8a986da7de7e34632a36c15b6c3ca'
and 'd3bc42a7b3cb02bf7be09e8aae8fd99960be84b7'
Diffstat (limited to 'packages/pulseaudio/files/fix-shm.patch')
-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; |