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

+11
+2
pkgs/tools/cd-dvd/cdrkit/default.nix
··· 10 11 buildInputs = [cmake libcap zlib bzip2]; 12 13 postInstall = '' 14 # file name compatibility with the old cdrecord (growisofs wants this name) 15 ln -s $out/bin/genisoimage $out/bin/mkisofs
··· 10 11 buildInputs = [cmake libcap zlib bzip2]; 12 13 + patches = [ ./include-path.patch ]; 14 + 15 postInstall = '' 16 # file name compatibility with the old cdrecord (growisofs wants this name) 17 ln -s $out/bin/genisoimage $out/bin/mkisofs
+9
pkgs/tools/cd-dvd/cdrkit/include-path.patch
···
··· 1 + diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index 57edba6..d06b6d9 100644 3 + --- a/CMakeLists.txt 4 + +++ b/CMakeLists.txt 5 + @@ -1,3 +1,4 @@ 6 + PROJECT (cdrkit C) 7 + +INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/include) 8 + SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit) 9 +