3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #6990 from spwhitt/libmpeg2

libmpeg2: Fix Darwin build
This commit is contained in:
William A. Kennington III 2015-03-25 21:43:20 -07:00
commit 938403bc09

View file

@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "1m3i322n2fwgrvbs1yck7g5md1dbg22bhq5xdqmjpz5m7j4jxqny";
};
# Otherwise clang fails with 'duplicate symbol ___sputc'
buildFlags = stdenv.lib.optionalString stdenv.isDarwin "CFLAGS=-std=gnu89";
meta = {
homepage = http://libmpeg2.sourceforge.net/;
description = "A free library for decoding mpeg-2 and mpeg-1 video streams";