public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils/files: alsa-utils-1.0.27.1-hctl_elem_search.patch
@ 2013-05-27 14:55 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2013-05-27 14:55 UTC (permalink / raw
  To: gentoo-commits

ssuominen    13/05/27 14:55:22

  Added:                alsa-utils-1.0.27.1-hctl_elem_search.patch
  Log:
  Include upstreamized patch for "hctl element search" wrt #468690 by William Throwe and Jaroslav Kysela
  
  (Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

Revision  Changes    Path
1.1                  media-sound/alsa-utils/files/alsa-utils-1.0.27.1-hctl_elem_search.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/files/alsa-utils-1.0.27.1-hctl_elem_search.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/files/alsa-utils-1.0.27.1-hctl_elem_search.patch?rev=1.1&content-type=text/plain

Index: alsa-utils-1.0.27.1-hctl_elem_search.patch
===================================================================
From d61924fd247c2cf0280391e076c439c9427732aa Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz>
Date: Mon, 27 May 2013 16:40:26 +0200
Subject: [PATCH] amixer: Fix the hctl elem search bug

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
 amixer/amixer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/amixer/amixer.c b/amixer/amixer.c
index 2f1521b..92b0f83 100644
--- a/amixer/amixer.c
+++ b/amixer/amixer.c
@@ -1105,6 +1105,7 @@ static int cset(int argc, char *argv[], int roflag, int keep_handle)
 		}
 		return err;
 	}
+	snd_ctl_elem_info_get_id(info, id);     /* FIXME: Remove it when hctl find works ok !!! */
 	if (!roflag) {
 		snd_ctl_elem_value_set_id(control, id);
 		if ((err = snd_ctl_elem_read(handle, control)) < 0) {
-- 
1.7.11.7






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-27 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-27 14:55 [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils/files: alsa-utils-1.0.27.1-hctl_elem_search.patch Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox