qucs: minor update and fix for new gcc

This commit is contained in:
Vladimír Čunát 2013-02-24 15:11:19 +01:00
parent 07d26cea06
commit 7421ee673c
2 changed files with 15 additions and 2 deletions

View File

@ -1,13 +1,16 @@
{stdenv, fetchurl, qt3, libX11}:
stdenv.mkDerivation rec {
name = "qucs-0.0.15";
name = "qucs-0.0.16";
src = fetchurl {
url = "mirror://sourceforge/qucs/${name}.tar.gz";
sha256 = "0ggs2nicj8q270l0rbmzg4jc0d0zdxvfsjh4wgww670ma5855xsp";
sha256 = "1h8ba84k06rix5zl5p9p414zj2facbnlf1vxwh4a1sp4h9dbfnzy";
};
patches = [ ./tr1-complex.patch ];
patchFlags = "-p0";
buildInputs = [ qt3 libX11 ];
meta = {

View File

@ -0,0 +1,10 @@
--- qucs-core/configure.orig 2011-07-03 07:34:09.069218113 -0500
+++ qucs-core/configure 2011-07-03 07:34:46.618990497 -0500
@@ -5884,7 +5884,6 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <tr1/complex>
using namespace std;
using namespace std::tr1;
int