qucs: minor update and fix for new gcc
This commit is contained in:
parent
07d26cea06
commit
7421ee673c
@ -1,13 +1,16 @@
|
|||||||
{stdenv, fetchurl, qt3, libX11}:
|
{stdenv, fetchurl, qt3, libX11}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qucs-0.0.15";
|
name = "qucs-0.0.16";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/qucs/${name}.tar.gz";
|
url = "mirror://sourceforge/qucs/${name}.tar.gz";
|
||||||
sha256 = "0ggs2nicj8q270l0rbmzg4jc0d0zdxvfsjh4wgww670ma5855xsp";
|
sha256 = "1h8ba84k06rix5zl5p9p414zj2facbnlf1vxwh4a1sp4h9dbfnzy";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./tr1-complex.patch ];
|
||||||
|
patchFlags = "-p0";
|
||||||
|
|
||||||
buildInputs = [ qt3 libX11 ];
|
buildInputs = [ qt3 libX11 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
10
pkgs/applications/science/electronics/qucs/tr1-complex.patch
Normal file
10
pkgs/applications/science/electronics/qucs/tr1-complex.patch
Normal 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
|
Loading…
x
Reference in New Issue
Block a user