Gentoo Archives: gentoo-commits

From: "Timothy Redaelli (drizzt)" <drizzt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/zsnes/files: zsnes-1.51-libao-thread.patch
Date: Fri, 09 May 2008 19:15:00
Message-Id: E1JuY3W-0003iE-Gm@stork.gentoo.org
1 drizzt 08/05/09 19:14:58
2
3 Added: zsnes-1.51-libao-thread.patch
4 Log:
5 Revision bump wrt bug #214697
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 games-emulation/zsnes/files/zsnes-1.51-libao-thread.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/files/zsnes-1.51-libao-thread.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/files/zsnes-1.51-libao-thread.patch?rev=1.1&content-type=text/plain
13
14 Index: zsnes-1.51-libao-thread.patch
15 ===================================================================
16 --- linux/audio.c.old 2007-01-09 20:19:12.000000000 -0500
17 +++ linux/audio.c 2007-12-30 20:33:07.000000000 -0500
18 @@ -177,11 +177,7 @@
19 }
20 else
21 {
22 - if (pthread_create(&audio_thread, 0, SoundThread_ao, 0))
23 - {
24 - puts("pthread_create() failed.");
25 - }
26 - else if (pthread_mutex_init(&audio_mutex, 0))
27 + if (pthread_mutex_init(&audio_mutex, 0))
28 {
29 puts("pthread_mutex_init() failed.");
30 }
31 @@ -189,6 +185,10 @@
32 {
33 puts("pthread_cond_init() failed.");
34 }
35 + else if (pthread_create(&audio_thread, 0, SoundThread_ao, 0))
36 + {
37 + puts("pthread_create() failed.");
38 + }
39 InitSampleControl();
40 }
41
42
43
44 --
45 gentoo-commits@l.g.o mailing list