SHA256
1
0
forked from pool/alsa-utils

Accepting request 197614 from home:tiwai:branches:multimedia:libs

- Upstream fix:
  0002-alsaloop-fix-wrong-alias-for-signal.h.patch

OBS-URL: https://build.opensuse.org/request/show/197614
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=88
This commit is contained in:
Dominique Leuenberger 2013-09-07 13:57:20 +00:00 committed by Git OBS Bridge
parent 59dbc4751d
commit 2f68950358
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 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 # Patch: alsa-utils-git-fixes.diff
# upstream fix patches # upstream fix patches
Patch1: 0001-alsactl-alsa-state.service-fix-typo-rkill-kill.patch 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 Patch99: alsa-utils-gettext-version-removal.diff
Url: http://www.alsa-project.org/ 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-* # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
# patch -p1 # patch -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1
# #
%if %suse_version < 1020 %if %suse_version < 1020
%patch99 -p1 %patch99 -p1