Merge pull request #123340 from dotlambda/cfdg-ffmpeg

cfdg: use ffmpeg instead of ffmpeg_3
This commit is contained in:
Michael Raskin 2021-05-17 11:04:55 +00:00 committed by GitHub
commit 70b37f9bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, libpng, bison, flex, ffmpeg_3, icu }:
{ lib, stdenv, fetchFromGitHub, libpng, bison, flex, ffmpeg, icu }:
stdenv.mkDerivation rec {
pname = "cfdg";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "13m8npccacmgxbs4il45zw53dskjh53ngv2nxahwqw8shjrws4mh";
};
buildInputs = [ libpng bison flex ffmpeg_3 icu ];
buildInputs = [ libpng bison flex ffmpeg icu ];
postPatch = ''
sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l