diff options
author | Frank Doepper <github@woffs.de> | 2020-09-11 16:28:43 +0200 |
---|---|---|
committer | Frank Doepper <woffs@woffs.de> | 2020-09-15 08:08:31 +0200 |
commit | e8d1a486fb95435fb0274e89582bbca374f5ecea (patch) | |
tree | 7c65b6dc6f20b87ee83892cdc5b1adb21436413c | |
parent | 2dfcbdb54865a5d58170f3bfe6df23a160247d97 (diff) |
dvdbackup: fix build with libdvdread >= 6.1.0
-rw-r--r-- | pkgs/applications/video/dvdbackup/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/video/dvdbackup/default.nix b/pkgs/applications/video/dvdbackup/default.nix index e129031fd49c..633eea3d282a 100644 --- a/pkgs/applications/video/dvdbackup/default.nix +++ b/pkgs/applications/video/dvdbackup/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libdvdread, libdvdcss, dvdauthor }: +{ stdenv, fetchurl, fetchpatch, libdvdread, libdvdcss, dvdauthor }: stdenv.mkDerivation rec { version = "0.4.2"; @@ -11,6 +11,13 @@ stdenv.mkDerivation rec { buildInputs = [ libdvdread libdvdcss dvdauthor ]; + # see https://bugs.launchpad.net/dvdbackup/+bug/1869226 + patchFlags = [ "-p0" ]; + patches = [ (fetchpatch { + url = "https://git.slackbuilds.org/slackbuilds/plain/multimedia/dvdbackup/patches/dvdbackup-dvdread-6.1.patch"; + sha256 = "1v3xl01bwq1592i5x5dyh95r0mmm1zvvwf92fgjc0smr0k3davfz"; + })]; + meta = { description = "A tool to rip video DVDs from the command line"; homepage = "http://dvdbackup.sourceforge.net/"; |