leocad: remove unnessary patches
This commit is contained in:
parent
e2be606300
commit
f66e06a828
@ -19,10 +19,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
buildInputs = [ qt4 zlib ];
|
||||
postPatch = ''
|
||||
sed '1i#include <cmath>' -i common/camera.cpp
|
||||
substituteInPlace common/camera.cpp --replace "isnan(" "std::isnan("
|
||||
export qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
|
||||
'';
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "CAD program for creating virtual LEGO models";
|
||||
|
Loading…
Reference in New Issue
Block a user