summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/cdrkit
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-11 15:36:24 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-11 15:36:24 +0000
commitf7fb37244040fd1c3e098cf268b3318fccb3af78 (patch)
tree624609123a423ac28ea9237faf7f362b5bee6d61 /pkgs/tools/cd-dvd/cdrkit
parent9976583c97004966dd8d966f0e24b61dd189327a (diff)
downloadnixpkgs-f7fb37244040fd1c3e098cf268b3318fccb3af78.tar
nixpkgs-f7fb37244040fd1c3e098cf268b3318fccb3af78.tar.gz
nixpkgs-f7fb37244040fd1c3e098cf268b3318fccb3af78.tar.bz2
nixpkgs-f7fb37244040fd1c3e098cf268b3318fccb3af78.tar.lz
nixpkgs-f7fb37244040fd1c3e098cf268b3318fccb3af78.tar.xz
nixpkgs-f7fb37244040fd1c3e098cf268b3318fccb3af78.tar.zst
nixpkgs-f7fb37244040fd1c3e098cf268b3318fccb3af78.zip
Adding a patch to cdrkit, for it to work with cmake 2.8.
I don't know how it could build ever with older cmake versions, because IMO
they lacked the patch I'm adding.

svn path=/nixpkgs/trunk/; revision=18903
Diffstat (limited to 'pkgs/tools/cd-dvd/cdrkit')
-rw-r--r--pkgs/tools/cd-dvd/cdrkit/default.nix2
-rw-r--r--pkgs/tools/cd-dvd/cdrkit/include-path.patch9
2 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/cd-dvd/cdrkit/default.nix b/pkgs/tools/cd-dvd/cdrkit/default.nix
index f92fabc380c..dace47675aa 100644
--- a/pkgs/tools/cd-dvd/cdrkit/default.nix
+++ b/pkgs/tools/cd-dvd/cdrkit/default.nix
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
 
   buildInputs = [cmake libcap zlib bzip2];
 
+  patches = [ ./include-path.patch ];
+
   postInstall = ''
     # file name compatibility with the old cdrecord (growisofs wants this name)
     ln -s $out/bin/genisoimage $out/bin/mkisofs
diff --git a/pkgs/tools/cd-dvd/cdrkit/include-path.patch b/pkgs/tools/cd-dvd/cdrkit/include-path.patch
new file mode 100644
index 00000000000..c071e182d7f
--- /dev/null
+++ b/pkgs/tools/cd-dvd/cdrkit/include-path.patch
@@ -0,0 +1,9 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 57edba6..d06b6d9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,3 +1,4 @@
+ PROJECT (cdrkit C)
++INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/include)
+ SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit)
+