summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-29 16:06:27 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-29 16:06:27 +0000
commit346c948c48855f34f85d3f6b19ed233610e4ae72 (patch)
tree7b89655ed86547d3f59d275b8054309b547fb84a /media-sound/pulseaudio/files
parentAdd 0.9.8-r5 to PulseAudio mask. (diff)
downloadgentoo-2-346c948c48855f34f85d3f6b19ed233610e4ae72.tar.gz
gentoo-2-346c948c48855f34f85d3f6b19ed233610e4ae72.tar.bz2
gentoo-2-346c948c48855f34f85d3f6b19ed233610e4ae72.zip
Apply patch from upstream SVN revision 2078. Thanks to Petteri Räty for reporting.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'media-sound/pulseaudio/files')
-rw-r--r--media-sound/pulseaudio/files/digest-pulseaudio-0.9.8-r43
-rw-r--r--media-sound/pulseaudio/files/digest-pulseaudio-0.9.8-r53
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch21
3 files changed, 27 insertions, 0 deletions
diff --git a/media-sound/pulseaudio/files/digest-pulseaudio-0.9.8-r4 b/media-sound/pulseaudio/files/digest-pulseaudio-0.9.8-r4
new file mode 100644
index 000000000000..9f89ccdd6357
--- /dev/null
+++ b/media-sound/pulseaudio/files/digest-pulseaudio-0.9.8-r4
@@ -0,0 +1,3 @@
+MD5 184a41d5947e583d395f0a2541525fc2 pulseaudio-0.9.8.tar.gz 1089681
+RMD160 ed4c1a5f4cf53ef166fe2aad66f1cae880463a8f pulseaudio-0.9.8.tar.gz 1089681
+SHA256 359891878e19d33b15f6a97eaec9b2f7d85dab7c1e1d6723537b80d36aa36858 pulseaudio-0.9.8.tar.gz 1089681
diff --git a/media-sound/pulseaudio/files/digest-pulseaudio-0.9.8-r5 b/media-sound/pulseaudio/files/digest-pulseaudio-0.9.8-r5
new file mode 100644
index 000000000000..9f89ccdd6357
--- /dev/null
+++ b/media-sound/pulseaudio/files/digest-pulseaudio-0.9.8-r5
@@ -0,0 +1,3 @@
+MD5 184a41d5947e583d395f0a2541525fc2 pulseaudio-0.9.8.tar.gz 1089681
+RMD160 ed4c1a5f4cf53ef166fe2aad66f1cae880463a8f pulseaudio-0.9.8.tar.gz 1089681
+SHA256 359891878e19d33b15f6a97eaec9b2f7d85dab7c1e1d6723537b80d36aa36858 pulseaudio-0.9.8.tar.gz 1089681
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch
new file mode 100644
index 000000000000..92bb2ebf41dd
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch
@@ -0,0 +1,21 @@
+Index: src/pulsecore/core-util.c
+===================================================================
+--- src/pulsecore/core-util.c (revision 2077)
++++ src/pulsecore/core-util.c (revision 2078)
+@@ -1129,8 +1129,15 @@
+
+ if ((e = getenv("PULSE_CONFIG_PATH")))
+ fn = lfn = pa_sprintf_malloc("%s/%s", e, local);
+- else if (pa_get_home_dir(h, sizeof(h)))
++ else if (pa_get_home_dir(h, sizeof(h))) {
++ char *d;
++
++ d = pa_sprintf_malloc("%s/.pulse", h);
++ mkdir(d, 0755);
++ pa_xfree(d);
++
+ fn = lfn = pa_sprintf_malloc("%s/.pulse/%s", h, local);
++ }
+
+ if (lfn) {
+ FILE *f;