From 614dc7a639f7b35874ebe6e709a27df0ade723d6 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Thu, 1 Dec 2016 13:54:48 +0000 Subject: [PATCH] Add patch forgotten in r427459. --- devel/cgit/files/patch-ui-snapshot.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/cgit/files/patch-ui-snapshot.c diff --git a/devel/cgit/files/patch-ui-snapshot.c b/devel/cgit/files/patch-ui-snapshot.c new file mode 100644 index 000000000000..75fbfe6661d3 --- /dev/null +++ b/devel/cgit/files/patch-ui-snapshot.c @@ -0,0 +1,11 @@ +--- ui-snapshot.c.orig 2016-12-01 13:52:53 UTC ++++ ui-snapshot.c +@@ -37,7 +37,7 @@ static int write_archive_type(const char + /* argv_array guarantees a trailing NULL entry. */ + memcpy(nargv, argv.argv, sizeof(char *) * (argv.argc + 1)); + +- result = write_archive(argv.argc, nargv, NULL, 1, NULL, 0); ++ result = write_archive(argv.argc, nargv, NULL, NULL, 0); + argv_array_clear(&argv); + free(nargv); + return result;