[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
There is an updated pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages spice
https://github.com/void-linux/void-packages/pull/26160
ngspice: update to 33.
A patch file from https://github.com/void-linux/void-packages/pull/26160.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spice-26160.patch --]
[-- Type: text/x-diff, Size: 2089 bytes --]
From bbdb202afcb2aec15be4a5842b33e15274fb4a35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 20:04:23 -0300
Subject: [PATCH] ngspice: update to 33.
---
srcpkgs/ngspice/patches/windows-only.patch | 15 +++++++++++++++
srcpkgs/ngspice/template | 4 ++--
2 files changed, 17 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/ngspice/patches/windows-only.patch
diff --git a/srcpkgs/ngspice/patches/windows-only.patch b/srcpkgs/ngspice/patches/windows-only.patch
new file mode 100644
index 00000000000..5f661864184
--- /dev/null
+++ b/srcpkgs/ngspice/patches/windows-only.patch
@@ -0,0 +1,15 @@
+libshlwapi is Windows-only
+
+diff --git src/xspice/cmpp/Makefile.in src/xspice/cmpp/Makefile.in
+index b450e8c..2ea8716 100644
+--- src/xspice/cmpp/Makefile.in
++++ src/xspice/cmpp/Makefile.in
+@@ -753,7 +753,7 @@ ifs_yacc.c : ifs_yacc.y
+
+ @CROSS_COMPILING_TRUE@build/cmpp$(BUILD_EXEEXT) : $(BUILD_CMPP_FILES)
+ @CROSS_COMPILING_TRUE@ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) \
+-@CROSS_COMPILING_TRUE@ $(AM_CPPFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ $^ -lshlwapi
++@CROSS_COMPILING_TRUE@ $(AM_CPPFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ $^
+
+ @CROSS_COMPILING_TRUE@distclean-local:
+ @CROSS_COMPILING_TRUE@ -rm -rf build
diff --git a/srcpkgs/ngspice/template b/srcpkgs/ngspice/template
index 86dfb7d7c7d..05beffd8f84 100644
--- a/srcpkgs/ngspice/template
+++ b/srcpkgs/ngspice/template
@@ -1,6 +1,6 @@
# Template file for 'ngspice'
pkgname=ngspice
-version=32
+version=33
revision=1
build_style=gnu-configure
configure_args="--with-readline=yes --with-ngshared --enable-xspice --enable-cider"
@@ -11,7 +11,7 @@ maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://ngspice.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/ngspice/ng-spice-rework/${version}/${pkgname}-${version}.tar.gz"
-checksum=3cd90c4e94516d87c5b4d02a3a6405b1136b25d05c871d4fee1fd7c4c0d03ef2
+checksum=b99db66cc1c57c44e9af1ef6ccb1dcbc8ae1df3e35acf570af578f606f8541f1
post_install() {
vlicense COPYING