verilator: update to 4.216
This commit is contained in:
29
mingw-w64-verilator/0001-Fix-MSWIN-compile-error-2681.patch
Normal file
29
mingw-w64-verilator/0001-Fix-MSWIN-compile-error-2681.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
diff --git a/Changes b/Changes
|
||||
index 0cc1c41b..4f1a4c16 100644
|
||||
--- a/Changes
|
||||
+++ b/Changes
|
||||
@@ -13,6 +13,8 @@ Verilator 4.217 devel
|
||||
|
||||
**Minor:**
|
||||
|
||||
+* Fix MSWIN compile error (#2681). [Unai Martinez-Corral]
|
||||
+
|
||||
|
||||
Verilator 4.216 2021-12-05
|
||||
==========================
|
||||
diff --git a/src/V3File.cpp b/src/V3File.cpp
|
||||
index 47cc857d..19a777b2 100644
|
||||
--- a/src/V3File.cpp
|
||||
+++ b/src/V3File.cpp
|
||||
@@ -335,7 +335,7 @@ class VInFilterImp final {
|
||||
#ifdef INFILTER_PIPE
|
||||
pid_t m_pid = 0; // fork() process id
|
||||
#else
|
||||
- const int m_pid = 0; // fork() process id - always zero as disabled
|
||||
+ int m_pid = 0; // fork() process id - always zero as disabled
|
||||
#endif
|
||||
bool m_pidExited = false;
|
||||
int m_pidStatus = 0;
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
_realname=verilator
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=4.214
|
||||
pkgrel=2
|
||||
pkgver=4.216
|
||||
pkgrel=1
|
||||
pkgdesc="The fastest free Verilog HDL simulator (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
|
||||
@@ -16,15 +16,18 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
|
||||
|
||||
source=(
|
||||
"${_realname}::https://codeload.github.com/${_realname}/${_realname}/tar.gz/v${pkgver}"
|
||||
'0001-Fix-MSWIN-compile-error-2681.patch'
|
||||
)
|
||||
sha256sums=(
|
||||
'e14c7f6ffb00a6746ae2a8ea0424e90a1a30067e8ae4c96b8c42689ca1ca0b1f'
|
||||
'64e5093b629a7e96178e3b2494f208955f218dfac6f310a91e4fc07d050c980b'
|
||||
'9a38ccf4f492d804e49cf764e1ada9bbcceccfdba54161af2538ce5d856e6385'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
|
||||
cp -rf "${srcdir}/${_realname}-${pkgver}" "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
patch -p1 -i "${srcdir}"/0001-Fix-MSWIN-compile-error-2681.patch
|
||||
sh autoconf
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user