diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2017-08-24 19:22:28 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-26 07:20:38 +0700 |
commit | 4174da45a36fdf2f65914f22865dcc48433554c2 (patch) | |
tree | 14e161231bc5a8675857dbd5e124af8cc5864659 /development/cgit/patches/0007-Remove-unused-variable-from-sort_section.patch | |
parent | df75f0401ee693208abfaf397f480ae1f61862d1 (diff) | |
download | slackbuilds-4174da45a36fdf2f65914f22865dcc48433554c2.tar.gz slackbuilds-4174da45a36fdf2f65914f22865dcc48433554c2.tar.xz |
development/cgit: Include some upstream git patches
Some general bugfixes, but more importantly, patch 0005 fixes
a segfault in git's pathspec.c that we were seeing on the
SBo git server.
Thanks to John Keeping (cgit contributor) for helping with
debug suggestions and identifying the specific commit we
needed to fix it.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/cgit/patches/0007-Remove-unused-variable-from-sort_section.patch')
-rw-r--r-- | development/cgit/patches/0007-Remove-unused-variable-from-sort_section.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/development/cgit/patches/0007-Remove-unused-variable-from-sort_section.patch b/development/cgit/patches/0007-Remove-unused-variable-from-sort_section.patch new file mode 100644 index 0000000000..13e7118e50 --- /dev/null +++ b/development/cgit/patches/0007-Remove-unused-variable-from-sort_section.patch @@ -0,0 +1,25 @@ +From 7ebdb30fdf91d1f63b4fb07e54b089136de5507b Mon Sep 17 00:00:00 2001 +From: Lukas Fleischer <lfleischer@lfos.de> +Date: Wed, 5 Apr 2017 06:38:27 +0200 +Subject: [PATCH 07/15] Remove unused variable from sort_section() + +Signed-off-by: Lukas Fleischer <lfleischer@lfos.de> +--- + ui-repolist.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/ui-repolist.c b/ui-repolist.c +index 20a4f56..7272e87 100644 +--- a/ui-repolist.c ++++ b/ui-repolist.c +@@ -225,7 +225,6 @@ static int sort_section(const void *a, const void *b) + const struct cgit_repo *r1 = a; + const struct cgit_repo *r2 = b; + int result; +- time_t t; + + result = cmp(r1->section, r2->section); + if (!result) { +-- +2.14.1 + |