diff --git a/srcpkgs/qucs/patches/qucsator-fix-list-traversion.patch b/srcpkgs/qucs/patches/qucsator-fix-list-traversion.patch deleted file mode 100644 index c22a608adc0..00000000000 --- a/srcpkgs/qucs/patches/qucsator-fix-list-traversion.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- qucs-core/src/net.cpp.org 2017-09-13 20:47:24.863069583 +0200 -+++ qucs-core/src/net.cpp 2017-09-10 00:16:48.863636748 +0200 -@@ -350,7 +350,13 @@ - void net::sortChildAnalyses (analysis * parent) { - ptrlist * alist = parent->getAnalysis (); - if (alist != nullptr) { -- for (auto *a: *alist) { -+ -+ for (auto it = alist->begin(); it != alist->end(); /* empty */) { -+ // Copy the value of the element (a pointer), and advance the -+ // iterator prior to manipulating the list. -+ analysis *a = *it; -+ ++it; -+ - if (a->getType () == ANALYSIS_DC - || containsAnalysis (a, ANALYSIS_DC)) { - parent->delAnalysis (a); diff --git a/srcpkgs/qucs/template b/srcpkgs/qucs/template deleted file mode 100644 index 4c18a3258c3..00000000000 --- a/srcpkgs/qucs/template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'qucs' -pkgname=qucs -version=0.0.19 -revision=2 -build_style=gnu-configure -configure_args="--disable-doc" -hostmakedepends="ADMS-qucs gperf qt-devel" -makedepends="qt-devel" -short_desc="Quite Universal Circuit Simulator" -maintainer="Martijn van Buul " -license="GPL-2" -homepage="http://qucs.sourceforge.net" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.gz" -checksum="45c6434fde24c533e63550675ac21cdbd3cc6cbba29b82a1dc3f36e7dd4b3b3e" -nocross="yes" # seems to compile all the way, but seems to link against the wrong libX11 (at least)