mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
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
This commit is contained in:
parent
9976583c97
commit
f7fb372440
@ -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
|
||||
|
9
pkgs/tools/cd-dvd/cdrkit/include-path.patch
Normal file
9
pkgs/tools/cd-dvd/cdrkit/include-path.patch
Normal file
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user