cad/ngspice_rework: fix build with libc++ 21
With libc++ 21 cad/ngspice_rework fails to build, with errors similar to:
In file included from hicumL2temp.cpp:11:
../../../../src/include/cppduals/duals/dual:444:8: error: 'is_compound' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]
444 | struct is_compound<duals::dual<T>> : true_type {};
| ^
/usr/include/c++/v1/__type_traits/is_compound.h:25:8: note: marked '_Clang::no_specializations' here
25 | struct _LIBCPP_NO_SPECIALIZATIONS is_compound : _BoolConstant<__is_compound(_Tp)> {};
| ^
/usr/include/c++/v1/__config:1167:9: note: expanded from macro '_LIBCPP_NO_SPECIALIZATIONS'
1167 | [[_Clang::__no_specializations__("Users are not allowed to specialize this standard library entity")]]
| ^
This is because libc++ 21 no longer allows specializing a number of
standard library entities. Delete out the specialization to make the
build complete.
PR: 293447
Approved by: kevinz5000@gmail.com (maintainer)
MFH: 2026Q1c6266b20c4Port details
cad/ngspice_rework44.2
Mixed-signal circuit simulator derived from Spice and Cider
- Maintainer
- kevinz5000@gmail.com
- Packages
- ngspice_rework 44.2, ngspice_rework-shlib 44.2
- Upstream
- Higher version available: 47
- CPE
- none, CVEs only via VuXML
- WWW
- https://ngspice.sourceforge.io/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (58)
cad/ngspice_rework: fix build on armv7 Disable OpenMP where it is not supported. MFH: 2025Q3 Approved by: portmgr (build fix blanket)d6e564cd05
cad/ngspice_rework: Fix plist on shlib flavor Reported by: leres Approved by: portmgr (blanket, buildfix) Fixes: 240779c5ce2ec2a23d7bf
cad/ngspice_rework: Update to 44.2 - Remove no longer needed GNU_CONFIGURE_MANPREFIX var ChangeLog: https://ngspice.sourceforge.io/news.html PR: 283754240779c5ce
cad/ngspice_rework: Move man pages to share/man Approved by: portmgr (blanket)7223e2f99a
cad/ngspice_rework: update to v41 The current version's distfiles have dropped off sourceforge, so let's take this time to update. While we're here, upstream has since removed the sbrk usage, so we can successfully build on aarch64 again. Reverse dependencies PORTREVISION bumped to play it safe, because it's not clear to me that the ABI really didn't change. Approved by: kevinz5000@gmail.com (maintainer)6cbeebb080
cad/ngspice_rework: fix packaging after 032665a09df377585f38df79bad4e29a46ea1b69d16fc4f0fa
cad/ngspice_rework: Update to 38 ChangeLog: https://ngspice.sourceforge.io/news.html PR: 268735032665a09d
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
cad: remove 'Created by' lines A big Thank You to the original contributors of these ports: * AMAKAWA Shuhei <amakawa@jp.FreeBSD.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Anders Andersson <anders@hack.org> * Bruce M Simpson <bms@FreeBSD.org> * Christoph Moench-Tegeder <cmt@FreeBSD.org> * David Yeske <dyeske@gmail.com> * Diane Bruce <db@db.net> * Joachim Strombergson <watchman@ludd.ltu.se> * Johnny Sorocil <jsorocil@gmail.com> * Julian Jenkins <kaveman@magna.com.au> * Marc Fonvieille <blackend@FreeBSD.org> * Mario S F Ferreira <lioux@linf.unb.br> et al. * Martin Dieringer <martin.dieringe@gmx.de> * Matthias Petermann <matthias@petermann-it.de> * Michael Durian <durian@shadetreesoftware.com> * Michael Reifenberger <mr@FreeBSD.org> * Nicola Vitale <nivit@FreeBSD.org> * Otacilio de Araujo Ramos Neto <otacilio.neto@bsd.com.br> * Pedro F. Giffuni * Pedro F. Giffuni <giffunip@asme.org> * Pedro Giffuni * Pedro Giffuni <giffunip@asme.org> * Rusmir Dusko <nemysis@FreeBSD.org> * Sarod Yatawatta <sarod@cs.pdn.ac.lk> * Sergio Lenzi <lenzi.sergio@gmail.com> * Stanislav Sedov <ssedov@mbsd.msk.ru> * Thierry Thomas <thierry@FreeBSD.org> * Thierry Thomas <thierry@pompo.net> * Thomas Gellekum <tg@FreeBSD.org> * Vanilla I. Shu <vanilla@FreeBSD.org> * Veniamin Gvozdikov <vg@FreeBSD.org> * Ying-Chieh Liao <ijliao@FreeBSD.org> * gahr * hrs * ijliao * lbartoletti <lbartoletti@FreeBSD.org> * lon_kamikaze@gmx.de * stas * swallace * thierry@pompo.net With hat: portmgrb46abf8056
cad/ngspice_rework: Change WWW to https Approved by: portmgr (blanket)fae9f2ff6d
cad/ngspice_rework: Update 36 -> 37 PR: 265058 Approved by: kevinz5000@gmail.com (maintainer)a903724de2
cad/ngspice_rework: fix build for shlib flavor Reported by: leres (via email)204582e049
cad/ngspice_rework: update to 36 Changelog: http://ngspice.sourceforge.net/news.html PR: 260886 Reported by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)7275ae01d9
cad/ngspice_rework: Update 32 -> 354f7368ca76
cad/ngspice_rework: Fix circular dependency The dependency line accidentally got in. Reported by: yasu6264f7593c
cad/ngspice_rework: Eliminate conflict between flavors Before both flavors installed headers and .cm files. This caused them to conflict with each other. This commit removes conflicting files from the @x11 flavor allowing the executable to be installed in parallel with libraries. The executable seems to work in a standalone mode fine, but if it ever needs headers or .cm files the @shlib flavor can always be installed. PR: 259809 Tested by: kevinz5000@gmail.come3cf001d00
Remove # $FreeBSD$ from Makefiles.305f148f48
cad/ngspice_rework: fix build on GCC architectures Use newer GCC: dstring.o: In function `copy': dstring.c:(.opd+0x240): multiple definition of `copy' spice2poly/dlmain.o:dlmain.c:(.opd+0x6f0): first defined here MFH: 2020Q3 (fix build blanket)a1b5415e2b
Mark as broken on aarch64: fails to link with sbrk. Approved by: portmgr (tier-2 blanket)865ff21d61
cad/ngspice_rework: Update to 32 ChangeLog: https://sourceforge.net/projects/ngspice/files/ng-spice-rework/32/ReleaseNotes.txt/download PR: 246455 Submitted by: kevinz5000@gmail.com(maintainer)59d6ceb789
cad/ngspice_rework: update to 31 https://sourceforge.net/projects/ngspice/files/ng-spice-rework/31/ReleaseNotes.txt/download PR: 241641 Approved by: Kevin Zheng (maintainer)69443c30e6
These ports now build on aarch64. Approved by: portmgr (tier-2 blanket)444f0068b2
Update devel/readline to 8.0 - Bump PORTREVISION of dependent ports for shlib change Changes: https://tiswww.case.edu/php/chet/readline/CHANGES PR: 236156 Exp-run by: antoine40c9c7f7eb
cad/ngspice_rework: Update to 30 PR: 234626 Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)1a92768870
Upgrade to 28, and use flavors to build the x11 application and the shared library. PR: 226191 Submitted by: Kevin Zheng (maintainer) Approved by: portmgr (bapt)79cd66922d
* Enabled CIDER * Added New option, SHLIB, only X11 or SHLIB can be selected, X11 is the default * Moved Uses to start Uses section block * Sorted option section to better comply with handbook (13.1.8)[1] [1] https://www.freebsd.org/doc/en/books/porters-handbook/porting-samplem.html#porting-samplem-order PR: 216800 Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer) Reviewed by: lifanov (mentor) Approved by: lifanov (mentor) Differential Revision: https://reviews.freebsd.org/D1172967242ab1df
Update devel/readline to 7.0 patch 3 - Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoinecb037d3c98
Mark as broken on aarch64: fails to link with sbrk. While here, pet portlint and remove stale ia64 lines. Approved by: portmgr (tier-2 blanket)631eab01cc
cad/ngspice_rework: Fix fetch broken by version bump I confused PORTVERSION with PORTREVISION and bumped the wrong item. Restore the old version and add PORTREVISION. No epoch is necessary because it wasn't possible to build version 27 or 28. PR: 214213ebb617bae3
cad/ngspice_rework: configure xspice unconditionally There was confusion about xspice option. The "x" stands for "extended", not x11, and it should always be enabled. Adjust accordingly. PR: 212357f6153f134c
cad/ngspice_rework: Enable X support by default (introduce X11 option) Ngspice built inside a package builder will not have x11 support which results in errors such as "Can't open viewport in graphics." when trying to plot. This change adds the X11 option which is on by default. PR: 212357 Submitted by: Michael Neumann Approved by: Kevin Zheng (maintainer)9375d86385
Cleanup plistafb0da4983
Fix build with readline in base while here convert to USES=libtool55d532c9fd
Update to version 26 PR: ports/186438 Submitted by: maintainer2ec977763b
- Style and typo fixes - pkg-plist reordered PR: ports/185556 Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)9d634e0b5f
Support stage Use option helpers3022916800
Add NO_STAGE all over the place in preparation for the staging support (cat: cad)8e91f3161f
cad/ngspice_rework: update to 25 - Update to version 25 - Trim Makefile header - Improve COMMENT - Add DEBUG option - Pass maintainership to submitter PR: ports/178555 Submitted by: Kevin Zheng <kevinz5000@gmail.com> Approved by: culot / jpaetzel (mentors, implicit), maintainer (timeout)959ffda594
- Get Rid MD5 supportbb86cbe5d2
Sync to new bsd.autotools.mk4a8684e352
Punt autoconf267->autoconf2686abd00a86b
Autotools update. Read ports/UPDATING 20100915 for details. Approved by: portmgr (for Mk/bsd.port.mk part) Tested by: Multiple -exp runs8262a7b51d
- Switch SourceForge ports to the new File Release System: categories starting with B,Cc926af277e
- Update to 18 PR: ports/130047 Submitted by: Pedro F. Giffuni <giffunip@tutopia.com> Approved by: maintainer timeout (2 months)9bed3c1175
Conversion to a single libtool environment. Approved by: portmgr (kris)8503536d38
- Don't link readline PR: 90182 Submitted by: pfgshield-freebsd@yahoo.com Approved by: clement, maintainer43633e7875
- Update to 17 PR: 90182 Submitted by: shuhei <amakawa@jp.freebsd.org> (maintainer) Approved by: clement (mentor)4f52fdc33f
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.54a0b86543