summaryrefslogtreecommitdiff
path: root/dev-lisp/clisp/clisp-2.49.92-r2.ebuild
diff options
context:
space:
mode:
authorZ. Liu <zhixu.liu@gmail.com>2025-02-28 01:05:55 +0800
committerSam James <sam@gentoo.org>2025-04-28 05:34:01 +0100
commit36fa86da64687efa002093f8714ab7fff78f1359 (patch)
treef615e3cf53359b63b0110018f8b414aa7cba99dc /dev-lisp/clisp/clisp-2.49.92-r2.ebuild
parentff308a6117c034cbf6d2ac650798e1e628494533 (diff)
downloadgentoo-36fa86da64687efa002093f8714ab7fff78f1359.tar.gz
gentoo-36fa86da64687efa002093f8714ab7fff78f1359.tar.bz2
gentoo-36fa86da64687efa002093f8714ab7fff78f1359.zip
dev-lisp/clisp: update db to 5.3 & fix build issue
patches are cherry picked from upstream Closes: https://bugs.gentoo.org/919233 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/40803 Closes: https://github.com/gentoo/gentoo/pull/40803 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lisp/clisp/clisp-2.49.92-r2.ebuild')
-rw-r--r--dev-lisp/clisp/clisp-2.49.92-r2.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-lisp/clisp/clisp-2.49.92-r2.ebuild b/dev-lisp/clisp/clisp-2.49.92-r2.ebuild
index 5e8634dd7b5d..59fa721a7fbe 100644
--- a/dev-lisp/clisp/clisp-2.49.92-r2.ebuild
+++ b/dev-lisp/clisp/clisp-2.49.92-r2.ebuild
@@ -34,7 +34,7 @@ RDEPEND="
zlib? ( sys-libs/zlib )
X? ( x11-libs/libXpm )
hyperspec? ( dev-lisp/hyperspec )
- berkdb? ( sys-libs/db:4.8 )
+ berkdb? ( sys-libs/db:5.3 )
"
DEPEND="
${RDEPEND}
@@ -44,6 +44,7 @@ BDEPEND="X? ( x11-misc/imake )"
PATCHES=(
"${FILESDIR}"/${P}-after_glibc_cfree_bdb.patch
+ "${FILESDIR}"/"${P}"-gdbm_and_bdb5.3.patch
)
BUILDDIR="builddir"
@@ -83,7 +84,9 @@ src_configure() {
# Temporary workaround for bug #932564 with GCC 15
# This can be dropped with a new release.
strip-flags
- append-flags -fno-tree-dce -fno-tree-dse -fno-tree-pta
+ tc-is-gcc && {
+ append-flags -fno-tree-dce -fno-tree-dse -fno-tree-pta
+ }
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/856103
@@ -130,7 +133,7 @@ src_configure() {
fi
if use berkdb; then
enable_modules berkeley-db
- append-cppflags -I"${EPREFIX}"/usr/include/db4.8
+ append-cppflags -I"${EPREFIX}"/usr/include/db5.3
fi
use dbus && enable_modules dbus
use fastcgi && enable_modules fastcgi