mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
ddccontrol: turn off format hardening
This commit is contained in:
parent
3fb8ce5aae
commit
dda7a039b7
@ -16,10 +16,12 @@
|
||||
let version = "0.4.2"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "ddccontrol-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/ddccontrol/ddccontrol-${version}.tar.bz2";
|
||||
sha1 = "fd5c53286315a61a18697a950e63ed0c8d5acff1";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
intltool
|
||||
@ -35,6 +37,8 @@ stdenv.mkDerivation {
|
||||
ddccontrol-db
|
||||
];
|
||||
|
||||
hardening_format = false;
|
||||
|
||||
prePatch = ''
|
||||
newPath=$(echo "${ddccontrol-db}/share/ddccontrol-db" | sed "s/\\//\\\\\\//g")
|
||||
mv configure.ac configure.ac.old
|
||||
|
Loading…
Reference in New Issue
Block a user