From 2f76079787f2ae08d150940a04938b609bba8e387733e154bc5e467d87b0e4bf Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 18 Apr 2013 16:44:23 +0000 Subject: [PATCH] Accepting request 172367 from home:tiwai:branches:multimedia:libs - Upstream fix: arecord: add a missing break to the capture loop 0003-arecord-add-a-missing-break-to-the-capture-loop.patch OBS-URL: https://build.opensuse.org/request/show/172367 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=78 --- ...-a-missing-break-to-the-capture-loop.patch | 27 +++++++++++++++++++ alsa-utils.changes | 6 +++++ alsa-utils.spec | 2 ++ 3 files changed, 35 insertions(+) create mode 100644 0003-arecord-add-a-missing-break-to-the-capture-loop.patch diff --git a/0003-arecord-add-a-missing-break-to-the-capture-loop.patch b/0003-arecord-add-a-missing-break-to-the-capture-loop.patch new file mode 100644 index 0000000..fdafd36 --- /dev/null +++ b/0003-arecord-add-a-missing-break-to-the-capture-loop.patch @@ -0,0 +1,27 @@ +From b4f34ac26037c10ac51c4bb29203500165848977 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 17 Apr 2013 08:34:34 +0200 +Subject: [PATCH] arecord: add a missing break to the capture loop + +Signed-off-by: Jaroslav Kysela +--- + aplay/aplay.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/aplay/aplay.c b/aplay/aplay.c +index 5bdc39c..000d25b 100644 +--- a/aplay/aplay.c ++++ b/aplay/aplay.c +@@ -3021,6 +3021,9 @@ static void capture(char *orig_name) + fd = -1; + } + ++ if (in_aborting) ++ break; ++ + /* repeat the loop when format is raw without timelimit or + * requested counts of data are recorded + */ +-- +1.8.2.1 + diff --git a/alsa-utils.changes b/alsa-utils.changes index 007d749..c45be70 100644 --- a/alsa-utils.changes +++ b/alsa-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 18 18:39:38 CEST 2013 - tiwai@suse.de + +- Upstream fix: arecord: add a missing break to the capture loop + 0003-arecord-add-a-missing-break-to-the-capture-loop.patch + ------------------------------------------------------------------- Mon Apr 15 18:31:29 UTC 2013 - hrvoje.senjan@gmail.com diff --git a/alsa-utils.spec b/alsa-utils.spec index 2a64059..1b593e2 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -60,6 +60,7 @@ Source1: 01beep.conf # upstream fix patches Patch1: 0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch Patch2: 0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch +Patch3: 0003-arecord-add-a-missing-break-to-the-capture-loop.patch # Patch99: alsa-utils-gettext-version-removal.diff Url: http://www.alsa-project.org/ @@ -77,6 +78,7 @@ sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am # patch -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 # %if %suse_version < 1020 %patch99 -p1