From 21ac15326f23f22e873d3fdc530eb53af595320b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Sat, 20 Nov 2010 23:29:10 +0100 Subject: [PATCH] Add a patch by jkratoch (bug# 643296) --- 0063-legacy-dir.patch | 11 +++++++++++ pulseaudio.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 0063-legacy-dir.patch diff --git a/0063-legacy-dir.patch b/0063-legacy-dir.patch new file mode 100644 index 0000000..98a727f --- /dev/null +++ b/0063-legacy-dir.patch @@ -0,0 +1,11 @@ +--- pulseaudio-0.9.21/src/pulse/context.c-orig 2010-09-29 08:56:41.000000000 +0200 ++++ pulseaudio-0.9.21/src/pulse/context.c 2010-09-29 13:04:15.000000000 +0200 +@@ -624,7 +624,7 @@ static pa_strlist *prepend_per_user(pa_s + char *ufn; + + #ifdef ENABLE_LEGACY_RUNTIME_DIR +- static char *legacy_dir; ++ char *legacy_dir; + + /* The very old per-user instance path (< 0.9.11). This is supported only to ease upgrades */ + if ((legacy_dir = get_very_old_legacy_runtime_dir())) { diff --git a/pulseaudio.spec b/pulseaudio.spec index f300e12..c961849 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -68,6 +68,7 @@ Patch58: 0059-alsa-reset-max_rewind-max_request-while-suspending.patch Patch59: 0060-core-util-introduce-generic-function-pa_strip.patch Patch60: 0061-esd-simple-use-pa_memblockq_pop_missing.patch Patch61: 0062-core-rework-how-stream-volumes-affect-sink-volumes.patch +Patch62: 0063-legacy-dir.patch URL: http://pulseaudio.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: m4 @@ -339,6 +340,7 @@ This package contains GDM integration hooks for the PulseAudio sound server. %patch59 -p1 %patch60 -p1 %patch61 -p1 +%patch62 -p1 -b .legacyDir %build autoreconf