From 70c37850818ec864be63893906dcda1af60e1351 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sat, 15 Dec 2007 23:46:42 +0000 Subject: [PATCH] xine-lib: now compiles with 2.6.23 headers svn path=/nixpkgs/branches/stdenv-updates/; revision=9947 --- .../libraries/xine-lib/default.nix | 1 + .../xine-lib-linux-headers-2.6.23.patch | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/xine-lib/xine-lib-linux-headers-2.6.23.patch diff --git a/pkgs/development/libraries/xine-lib/default.nix b/pkgs/development/libraries/xine-lib/default.nix index 738b21741b5d..51592f61b1a6 100644 --- a/pkgs/development/libraries/xine-lib/default.nix +++ b/pkgs/development/libraries/xine-lib/default.nix @@ -27,4 +27,5 @@ assert alsaSupport -> alsaLib != null; libXv = if xvideoSupport then libXv else null; libdvdcss = if encryptedDVDSupport then libdvdcss else null; propagatedBuildInputs = [zlib]; + patches = [ ./xine-lib-linux-headers-2.6.23.patch ]; }) // {inherit xineramaSupport libXinerama;} diff --git a/pkgs/development/libraries/xine-lib/xine-lib-linux-headers-2.6.23.patch b/pkgs/development/libraries/xine-lib/xine-lib-linux-headers-2.6.23.patch new file mode 100644 index 000000000000..cd3d766ea8f2 --- /dev/null +++ b/pkgs/development/libraries/xine-lib/xine-lib-linux-headers-2.6.23.patch @@ -0,0 +1,22 @@ +# HG changeset patch +# User Ken Moffat +# Date 1193435051 -3600 +# Node ID 8a369a0d5ff104cc115bbe76c6b4f3e281d1ef25 +# Parent 05fde4048642d1a7edb19ea623acd760064718bc +Linux-2.6.23 header change breaks build +> +> /* Special codes used when specifying changer slots. */ +> #define CDSL_NONE (INT_MAX-1) +> #define CDSL_CURRENT INT_MAX + +--- a/src/input/vcd/libcdio/_cdio_linux.c Tue Oct 23 23:45:58 2007 +0100 ++++ b/src/input/vcd/libcdio/_cdio_linux.c Fri Oct 26 22:44:11 2007 +0100 +@@ -59,6 +59,7 @@ static const char _rcsid[] = "$Id: _cdio + #include + #include + #include ++#include + + #include + #include +