FreeBSD Bugzilla – Attachment 126052 Details for
Bug 169770
[patch] audio/alsa-lib: make async handler work (from pkgsrc)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
async.diff
async.diff (text/plain), 1.29 KB, created by
Jan Beich
on 2012-07-10 18:40:11 UTC
(
hide
)
Description:
async.diff
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2012-07-10 18:40:11 UTC
Size:
1.29 KB
patch
obsolete
>Index: audio/alsa-lib/files/patch-alsa-lib >=================================================================== >RCS file: /a/.csup/ports/audio/alsa-lib/files/patch-alsa-lib,v >retrieving revision 1.1 >diff -u -p -r1.1 patch-alsa-lib >--- audio/alsa-lib/files/patch-alsa-lib 5 Jun 2010 12:43:25 -0000 1.1 >+++ audio/alsa-lib/files/patch-alsa-lib 10 Jul 2012 16:16:53 -0000 >@@ -152,13 +152,23 @@ > #if __BYTE_ORDER == __LITTLE_ENDIAN > #define __cpu_to_le32(x) (x) > #define __cpu_to_be32(x) bswap_32(x) >---- src/async.c.orig 2009-09-09 20:34:54.000000000 +0800 >-+++ src/async.c 2009-09-15 00:49:34.000000000 +0800 >-@@ -51,6 +51,7 @@ >+$NetBSD: patch-bk,v 1.1 2008/12/25 13:18:00 hasso Exp $ >+ >+--- src/async.c.orig 2008-12-25 08:18:22 +0200 >++++ src/async.c 2008-12-25 08:20:39 +0200 >+@@ -51,6 +51,15 @@ static LIST_HEAD(snd_async_handlers); > > static void snd_async_handler(int signo ATTRIBUTE_UNUSED, siginfo_t *siginfo, void *context ATTRIBUTE_UNUSED) > { >-+#ifndef __FreeBSD__ >++#if defined(__DragonFly__) || defined(__FreeBSD__) >++ /* XXX XXX XXX */ >++ struct list_head *i; >++ list_for_each(i, &snd_async_handlers) { >++ snd_async_handler_t *h = list_entry(i, snd_async_handler_t, glist); >++ if (h->callback) >++ h->callback(h); >++ } >++#else > int fd; > struct list_head *i; > //assert(siginfo->si_code == SI_SIGIO);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169770
: 126052