mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
sci-electronics/nvc: patch fpurge; drop USE=debug
Closes: https://bugs.gentoo.org/979033 Closes: https://bugs.gentoo.org/978740 Bug: https://bugs.gentoo.org/937245 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
14
sci-electronics/nvc/files/nvc-1.21.1-fpurge.patch
Normal file
14
sci-electronics/nvc/files/nvc-1.21.1-fpurge.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Thanks for the patch Lain! See: https://bugs.gentoo.org/979033
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 3ec2938..5fb9fef 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -37,7 +37,7 @@ AC_C_RESTRICT
|
||||
|
||||
AC_CHECK_HEADERS([sys/ptrace.h sys/prctl.h])
|
||||
AC_CHECK_FUNCS([tcgetwinsize memmem strcasestr getline fseeko ftello])
|
||||
-AC_CHECK_FUNCS([fpurge __fpurge strchrnul strndup gettid popen])
|
||||
+AC_CHECK_FUNCS([__fpurge strchrnul strndup gettid popen])
|
||||
|
||||
AC_CHECK_MEMBERS([struct stat.st_mtimespec.tv_nsec])
|
||||
AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec])
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {20..22} )
|
||||
|
||||
inherit autotools bash-completion-r1 llvm-r2
|
||||
inherit autotools llvm-r2 shell-completion
|
||||
|
||||
DESCRIPTION="NVC is a VHDL compiler and simulator"
|
||||
HOMEPAGE="https://www.nickg.me.uk/nvc/
|
||||
@@ -29,7 +29,7 @@ S="${NVC_BUILDDIR}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="debug llvm test"
|
||||
IUSE="llvm test"
|
||||
RESTRICT="test" # Some tests fail.
|
||||
|
||||
RDEPEND="
|
||||
@@ -61,7 +61,10 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/nvc-1.9.2-jit-code-capstone.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/nvc-1.9.2-jit-code-capstone.patch"
|
||||
"${FILESDIR}/nvc-1.21.1-fpurge.patch"
|
||||
)
|
||||
|
||||
# Special libraries for NVC.
|
||||
QA_FLAGS_IGNORED="usr/lib[0-9]*/nvc/preload[0-9]*.so"
|
||||
@@ -93,7 +96,6 @@ src_configure() {
|
||||
local -a myconf=(
|
||||
--enable-vital
|
||||
--with-bash-completion="$(get_bashcompdir)"
|
||||
$(use_enable debug)
|
||||
$(use_enable llvm)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
Reference in New Issue
Block a user