···88 sha256 = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690";
99 };
10101111- patches = [ ./001-mips_removal_h_constraint.patch ./pkgconfig.patch ];
1111+ patches = [ ./001-mips_removal_h_constraint.patch ./pkgconfig.patch ]
1212+ # optimize.diff is taken from https://projects.archlinux.org/svntogit/packages.git/tree/trunk/optimize.diff?h=packages/libmad
1313+ # It is included here in order to fix a build failure in Clang
1414+ # But it may be useful to fix other, currently unknown problems as well
1515+ ++ stdenv.lib.optional (stdenv.cc.cc.isClang or false) [ ./optimize.diff ];
12161317 nativeBuildInputs = [ autoconf ];
1418···2226 meta = with stdenv.lib; {
2327 homepage = http://sourceforge.net/projects/mad/;
2428 description = "A high-quality, fixed-point MPEG audio decoder supporting MPEG-1 and MPEG-2";
2929+ license = licenses.gpl2;
2530 maintainers = with maintainers; [ lovek323 ];
2631 platforms = platforms.unix;
2732 };