diff --git a/0002-alsaloop-fix-wrong-alias-for-signal.h.patch b/0002-alsaloop-fix-wrong-alias-for-signal.h.patch new file mode 100644 index 0000000..03cc2aa --- /dev/null +++ b/0002-alsaloop-fix-wrong-alias-for-signal.h.patch @@ -0,0 +1,34 @@ +From 8f57464190eb683d9517d8cfbd2cefb6223c6f1d Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Tue, 23 Jul 2013 14:57:05 +0200 +Subject: [PATCH] alsaloop: fix wrong alias for signal.h + +in POSIX, there is no . + +it's merely a legacy alias used by glibc, and the header does nothing +else than including . + +so let's do the right thing and use the right name, which works everywhere. + +Signed-off-by: John Spencer +Signed-off-by: Jaroslav Kysela +--- + 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 + #include + #include +-#include ++#include + #include "alsaloop.h" + + struct loopback_thread { +-- +1.8.4 + diff --git a/alsa-utils.changes b/alsa-utils.changes index 1cf46e1..38c45f2 100644 --- a/alsa-utils.changes +++ b/alsa-utils.changes @@ -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 diff --git a/alsa-utils.spec b/alsa-utils.spec index 834368a..d2ec1be 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -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