summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/dvd+rw-tools/default.nix
diff options
context:
space:
mode:
authorIoannis Koutras <ioannis.koutras@gmail.com>2017-01-05 11:33:20 +0200
committerIoannis Koutras <ioannis.koutras@gmail.com>2017-01-05 11:41:34 +0200
commit60c88c48d1c91cd5e82e2072a0e9558a96dc2995 (patch)
tree2dcbab92aca0d28d48f20e3377a6e933b5884720 /pkgs/tools/cd-dvd/dvd+rw-tools/default.nix
parent28c06567f8d91528c4f9feca5a7afe7a269b0f55 (diff)
downloadnixpkgs-60c88c48d1c91cd5e82e2072a0e9558a96dc2995.tar
nixpkgs-60c88c48d1c91cd5e82e2072a0e9558a96dc2995.tar.gz
nixpkgs-60c88c48d1c91cd5e82e2072a0e9558a96dc2995.tar.bz2
nixpkgs-60c88c48d1c91cd5e82e2072a0e9558a96dc2995.tar.lz
nixpkgs-60c88c48d1c91cd5e82e2072a0e9558a96dc2995.tar.xz
nixpkgs-60c88c48d1c91cd5e82e2072a0e9558a96dc2995.tar.zst
nixpkgs-60c88c48d1c91cd5e82e2072a0e9558a96dc2995.zip
dvdplusrwtools: apply multiple fixes
Upstream version of dvd+rw-tools is quite old and many Linux
distributions apply multiple patches to keep it working on newer
systems. This commit includes those patches.

This closes #21024.
Diffstat (limited to 'pkgs/tools/cd-dvd/dvd+rw-tools/default.nix')
-rw-r--r--pkgs/tools/cd-dvd/dvd+rw-tools/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/tools/cd-dvd/dvd+rw-tools/default.nix b/pkgs/tools/cd-dvd/dvd+rw-tools/default.nix
index ecadcc2b001..40ca08c9260 100644
--- a/pkgs/tools/cd-dvd/dvd+rw-tools/default.nix
+++ b/pkgs/tools/cd-dvd/dvd+rw-tools/default.nix
@@ -8,12 +8,24 @@ stdenv.mkDerivation {
     sha256 = "1jkjvvnjcyxpql97xjjx0kwvy70kxpiznr2zpjy2hhci5s10zmpq";
   };
 
+  # Patches from Gentoo / Fedora
+  # https://bugs.gentoo.org/257360
+  # https://bugzilla.redhat.com/show_bug.cgi?id=426068
+  # https://bugzilla.redhat.com/show_bug.cgi?id=243036
+  patches = [
+    ./dvd+rw-tools-7.0-dvddl.patch
+    ./dvd+rw-tools-7.0-glibc2.6.90.patch
+    ./dvd+rw-tools-7.0-wctomb.patch
+    ./dvd+rw-tools-7.0-wexit.patch
+    ./dvd+rw-tools-7.1-layerbreaksetup.patch
+  ];
+
   buildInputs = [cdrkit m4];
 
   preBuild = ''
     makeFlags="prefix=$out"
   '';
-  
+
   # Incompatibility with Linux 2.6.23 headers, see
   # http://www.mail-archive.com/cdwrite@other.debian.org/msg11464.html
   NIX_CFLAGS_COMPILE = "-DINT_MAX=__INT_MAX__";