supercollider: disable fortify hardening

This commit is contained in:
Robin Gloster 2016-02-24 21:29:55 +00:00
parent dcf103284f
commit 18adc96e0f

View File

@ -3,10 +3,10 @@
, libXt, qt, readline , libXt, qt, readline
, useSCEL ? false, emacs , useSCEL ? false, emacs
}: }:
let optional = stdenv.lib.optional; in let optional = stdenv.lib.optional; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "supercollider-3.6.6"; name = "supercollider-3.6.6";
meta = { meta = {
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
sha256 = "11khrv6jchs0vv0lv43am8lp0x1rr3h6l2xj9dmwrxcpdayfbalr"; sha256 = "11khrv6jchs0vv0lv43am8lp0x1rr3h6l2xj9dmwrxcpdayfbalr";
}; };
hardening_stackprotector = false;
# QGtkStyle unavailable # QGtkStyle unavailable
patchPhase = '' patchPhase = ''
substituteInPlace editors/sc-ide/widgets/code_editor/autocompleter.cpp \ substituteInPlace editors/sc-ide/widgets/code_editor/autocompleter.cpp \
@ -29,12 +31,12 @@ stdenv.mkDerivation rec {
cmakeFlags = '' cmakeFlags = ''
-DSC_WII=OFF -DSC_WII=OFF
-DSC_EL=${if useSCEL then "ON" else "OFF"} -DSC_EL=${if useSCEL then "ON" else "OFF"}
''; '';
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ buildInputs = [
gcc libjack2 libsndfile fftw curl libXt qt readline ] gcc libjack2 libsndfile fftw curl libXt qt readline ]
++ optional useSCEL emacs; ++ optional useSCEL emacs;
} }