update to got 0.79
- repair build on OpenBSD/sparc64 (patch by Ted Bullock) - fix crash in gotd if client gets disconnected on error (reported by Mikhail) - fix crash in got-send-pack when server does not announce any capabilities - make gotd work as intended on an empty repository - prevent freeing of bogus pointers in got_inflate_end() and got_deflate_end() - reduce delta cache size to avoid running out of memory on large pack files - add missing free of delta buffers in several error paths - make 'got clone -b' work for repositories which lack a valid HEAD reference - use sub-second precision when checking for objects/pack/ modification - fix capabilities announced by gotsh when no references exist in repository
This commit is contained in:
parent
dfd6be8623
commit
5e1c76aa51
@ -2,9 +2,8 @@ COMMENT-main = game of trees version control system
|
||||
COMMENT-web = game of trees repository cgi script
|
||||
COMMENT-webd = game of trees repository fast-cgi server
|
||||
|
||||
V = 0.78
|
||||
V = 0.79
|
||||
DISTNAME = got-${V}
|
||||
REVISION = 0
|
||||
PKGNAME-web = gotweb-${V}
|
||||
PKGNAME-webd = gotwebd-${V}
|
||||
CATEGORIES = devel
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (got-0.78.tar.gz) = HwGJ8Yy4s3balEofgyTilJEGOYttIhx8uz0BV9VrcV4=
|
||||
SIZE (got-0.78.tar.gz) = 842599
|
||||
SHA256 (got-0.79.tar.gz) = GuME42pJyO0Onf7q8+YQ0UI8vHR+wIqYnUK/QwROPvA=
|
||||
SIZE (got-0.79.tar.gz) = 843921
|
||||
|
@ -1,15 +0,0 @@
|
||||
remove c99-ism
|
||||
Index: lib/diff_main.c
|
||||
--- lib/diff_main.c.orig
|
||||
+++ lib/diff_main.c
|
||||
@@ -634,8 +634,9 @@ diff_result_contains_printable_chunks(struct diff_resu
|
||||
{
|
||||
struct diff_chunk *c;
|
||||
enum diff_chunk_type t;
|
||||
+ int i;
|
||||
|
||||
- for (int i = 0; i < result->chunks.len; i++) {
|
||||
+ for (i = 0; i < result->chunks.len; i++) {
|
||||
c = &result->chunks.head[i];
|
||||
t = diff_chunk_type(c);
|
||||
if (t == CHUNK_MINUS || t == CHUNK_PLUS)
|
Loading…
Reference in New Issue
Block a user