CVS commit: pkgsrc/chat/ejabberd/patches
"Greg Troxel" <[email protected]> Thu, 6 Aug 2026 12:09:43 +0000
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc
Committed By: gdt
Date: Thu Aug 6 12:09:43 UTC 2026
Added Files:
pkgsrc/chat/ejabberd/patches: patch-src_mod__mam__sql.erl
Log Message:
chat/ejabberd: "commit --amend" to add patch from previous
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/chat/ejabberd/patches/patch-src_mod__mam__sql.erl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed)
(text/x-diff, 995 B)
Added files: Index: pkgsrc/chat/ejabberd/patches/patch-src_mod__mam__sql.erl diff -u /dev/null pkgsrc/chat/ejabberd/patches/patch-src_mod__mam__sql.erl:1.1 --- /dev/null Thu Aug 6 12:09:43 2026 +++ pkgsrc/chat/ejabberd/patches/patch-src_mod__mam__sql.erl Thu Aug 6 12:09:43 2026 @@ -0,0 +1,20 @@ +$NetBSD: patch-src_mod__mam__sql.erl,v 1.1 2026/08/06 12:09:43 gdt Exp $ + +Building fails with NS_MAM_FULLTEXT_0 undefined, but I can't find +where any such defines are. Because I don't use mysql and nobody else +has said they do, just omit it, leaving a proper fix to someone who +does, or upstream fixing this. + +Not reported upstream until we are caught up, at least. + +--- src/mod_mam_sql.erl.orig 2026-04-14 14:15:06.000000000 +0000 ++++ src/mod_mam_sql.erl +@@ -287,7 +287,7 @@ delete_old_messages(ServerHost, TimeStam + additional_namespaces(LServer) -> + case ejabberd_option:sql_type(LServer) of + mysql -> +- [?NS_MAM_FULLTEXT_0]; ++ []; + _ -> + [] + end.