leocad: remove unnessary patches

This commit is contained in:
Jörg Thalheim 2017-03-19 19:17:21 +01:00
parent e2be606300
commit f66e06a828
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -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";