Accepting request 197837 from multimedia:libs

- Upstream fix:
  0002-alsaloop-fix-wrong-alias-for-signal.h.patch (forwarded request 197614 from tiwai)

OBS-URL: https://build.opensuse.org/request/show/197837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa-utils?expand=0&rev=82
This commit is contained in:
Stephan Kulow 2013-09-09 07:26:36 +00:00 committed by Git OBS Bridge
commit e0fce58ae1
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,34 @@
From 8f57464190eb683d9517d8cfbd2cefb6223c6f1d Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz>
Date: Tue, 23 Jul 2013 14:57:05 +0200
Subject: [PATCH] alsaloop: fix wrong alias for signal.h
in POSIX, there is no <sys/signal.h>.
it's merely a legacy alias used by glibc, and the header does nothing
else than including <signal.h>.
so let's do the right thing and use the right name, which works everywhere.
Signed-off-by: John Spencer <maillist-alsa@barfooze.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
alsaloop/alsaloop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c
index e1a36d2..20150dd 100644
--- a/alsaloop/alsaloop.c
+++ b/alsaloop/alsaloop.c
@@ -31,7 +31,7 @@
#include <math.h>
#include <pthread.h>
#include <syslog.h>
-#include <sys/signal.h>
+#include <signal.h>
#include "alsaloop.h"
struct loopback_thread {
--
1.8.4

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 6 10:02:34 CEST 2013 - tiwai@suse.de
- Upstream fix:
0002-alsaloop-fix-wrong-alias-for-signal.h.patch
-------------------------------------------------------------------
Fri Jul 19 15:23:41 CEST 2013 - tiwai@suse.de

View File

@ -59,6 +59,7 @@ Source1: 01beep.conf
# Patch: alsa-utils-git-fixes.diff
# upstream fix patches
Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch
Patch2: 0002-alsaloop-fix-wrong-alias-for-signal.h.patch
#
Patch99: alsa-utils-gettext-version-removal.diff
Url: http://www.alsa-project.org/
@ -75,6 +76,7 @@ sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
# rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
# patch -p1
%patch1 -p1
%patch2 -p1
#
%if %suse_version < 1020
%patch99 -p1