chore(3p): bump NixOS channels and emacs overlay to 2021-12-07
* //third_party/cgit: apply patch [1] for Git 2.34 compatibility to
reflect dropping of the string_list_init function in 770fed [2].
Patch hasn't been applied on cgit's master yet, over concern about a
breaking change in git (?) [3].
[1]: https://lists.zx2c4.com/pipermail/cgit/2021-November/004666.html
[2]: 770fedaf9f
[3]: https://lists.zx2c4.com/pipermail/cgit/2021-November/004667.html
Change-Id: Ie10c99c017ae5a43f4369b42151e19ecf07f7949
This commit is contained in:
parent
7f2f5d07f2
commit
6ef5162a93
4 changed files with 11 additions and 11 deletions
2
third_party/cgit/Makefile
vendored
2
third_party/cgit/Makefile
vendored
|
|
@ -14,7 +14,7 @@ htmldir = $(docdir)
|
|||
pdfdir = $(docdir)
|
||||
mandir = $(prefix)/share/man
|
||||
SHA1_HEADER = <openssl/sha.h>
|
||||
GIT_VER = 2.32.0
|
||||
GIT_VER = 2.34.0
|
||||
GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz
|
||||
INSTALL = install
|
||||
COPYTREE = cp -r
|
||||
|
|
|
|||
2
third_party/cgit/cgit.c
vendored
2
third_party/cgit/cgit.c
vendored
|
|
@ -428,7 +428,7 @@ static void prepare_context(void)
|
|||
ctx.page.modified = time(NULL);
|
||||
ctx.page.expires = ctx.page.modified;
|
||||
ctx.page.etag = NULL;
|
||||
string_list_init(&ctx.cfg.mimetypes, 1);
|
||||
string_list_init_dup(&ctx.cfg.mimetypes);
|
||||
if (ctx.env.script_name)
|
||||
ctx.cfg.script_name = xstrdup(ctx.env.script_name);
|
||||
if (ctx.env.query_string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue