Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/sox/files: sox-14.3.1-nomad.patch
Date: Thu, 29 Apr 2010 11:47:34
Message-Id: 20100429114700.17EE62C043@corvid.gentoo.org
1 ssuominen 10/04/29 11:46:59
2
3 Added: sox-14.3.1-nomad.patch
4 Log:
5 Fix building with USE="-mad" wrt #317595 by Sergiy Borodych.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 media-sound/sox/files/sox-14.3.1-nomad.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sox/files/sox-14.3.1-nomad.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sox/files/sox-14.3.1-nomad.patch?rev=1.1&content-type=text/plain
13
14 Index: sox-14.3.1-nomad.patch
15 ===================================================================
16 http://bugs.gentoo.org/317595
17
18 --- src/mp3.c
19 +++ src/mp3.c
20 @@ -56,8 +56,10 @@
21 * Sidestep the issue by defining our own mad_timer_zero. This is needed because
22 * mad_timer_zero is used in some of the mad.h macros.
23 */
24 +#ifdef HAVE_MAD_H
25 #define mad_timer_zero mad_timer_zero_stub
26 static mad_timer_t const mad_timer_zero_stub = {0, 0};
27 +#endif
28
29 #define MAXFRAMESIZE 2880
30 #define ID3PADDING 128