Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162692151
D58125.id181601.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D58125.id181601.diff
View Options
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile
--- a/lang/clisp/Makefile
+++ b/lang/clisp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= clisp
PORTVERSION= 2.49.95+20241228
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang lisp
MAINTAINER= kiri@TrueFC.org
@@ -66,7 +66,7 @@
ZLIB_DESC= Compress vectors
ASDF_CONFIGURE_WITH= module=asdf
-BDB_USES= bdb
+BDB_USES= bdb:18
BDB_CONFIGURE_WITH= module=berkeley-db
BDB_CPPFLAGS= -I${LOCALBASE}/include/db${BDB_VER}
BDB_LDFLAGS= -L${LOCALBASE}/lib/db${BDB_VER}
diff --git a/lang/clisp/files/patch-modules_berkeley-db_bdb.c b/lang/clisp/files/patch-modules_berkeley-db_bdb.c
new file mode 100644
--- /dev/null
+++ b/lang/clisp/files/patch-modules_berkeley-db_bdb.c
@@ -0,0 +1,11 @@
+--- modules/berkeley-db/bdb.c.orig 2026-07-09 12:56:21 UTC
++++ modules/berkeley-db/bdb.c
+@@ -264,7 +264,7 @@ static void add_message (struct messages* *data_, cons
+ /* dbe is a const pointer, so we cannot change its slots explicitly
+ (e.g., by assigning to app_private),
+ so we have to pass an address to add_message() */
+-static void message_callback (const DB_ENV* dbe, const char *msg) {
++static void message_callback (const DB_ENV* dbe, const char *msg, const char * nothing) {
+ add_message((struct messages**)&(dbe->app_private),msg);
+ }
+ #else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 8:12 PM (17 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35110791
Default Alt Text
D58125.id181601.diff (1 KB)
Attached To
Mode
D58125: lang/clisp: use Berkeley db 18, not deprecated and considered insecure 5
Attached
Detach File
Event Timeline
Log In to Comment