[FFmpeg-devel] [PATCH v2 1/4] libavutil/error: fix build with musl toolchain

Jörg Krause jkrause at posteo.de
Thu Sep 4 10:07:19 CEST 2014


On 09/03/2014 08:12 PM, Michael Niedermayer wrote:
> On Wed, Sep 03, 2014 at 11:53:39AM +0200, Jörg Krause wrote:
>> Add the feature test macro which is required for building with the
>> musl toolchain.
>>
>> The feature test macro _XOPEN_SOURCE = 600 provides the XSI-compliant
>> version of strerror_r().
>>
>> Signed-off-by: Jörg Krause <jkrause at posteo.de>
>> ---
>> Changes v1 -> v2:
>>    - fixed wrong macro name
>>    - add a comment
>> ---
>>   libavutil/error.c | 1 +
>>   1 file changed, 1 insertion(+)
> applied

Many thanks! There are some more fixes necessary for supporting the musl 
C library. I will prepare a series of patches in a couple of days. I 
will follow the suggestion to add the feature test macros on source 
level as described in the GNU C library reference manual.

> btw, if you are interrested in setting up a musl fate client to
> regularly test ffmpeg, see http://ffmpeg.org/fate.html

Interesting, I will give it a try.


More information about the ffmpeg-devel mailing list