- Remove cgit-built-with-git-v2.11.0.patch (merged upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/cgit?expand=0&rev=33
This commit is contained in:
parent
e1287c86b2
commit
ba716b33f6
@ -1,27 +0,0 @@
|
||||
From 91153fd02e62f2eaca8e6c140baa4f2abf39c40e Mon Sep 17 00:00:00 2001
|
||||
From: Christian Hesse <mail@eworm.de>
|
||||
Date: Wed, 30 Nov 2016 10:43:08 +0100
|
||||
Subject: git: update to v2.11.0
|
||||
|
||||
Update to git version v2.11.0. Function write_archive()
|
||||
dropped argument (int setup_prefix).
|
||||
---
|
||||
|
||||
ui-snapshot.c | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/ui-snapshot.c b/ui-snapshot.c
|
||||
index 08c6e80..9b8cddd 100644
|
||||
--- a/ui-snapshot.c
|
||||
+++ b/ui-snapshot.c
|
||||
@@ -37,7 +37,7 @@ static int write_archive_type(const char *format, const char *hex, const char *p
|
||||
/* 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;
|
||||
--
|
||||
cgit v1.1-3-g9641
|
@ -7,6 +7,7 @@ Sun Aug 5 16:24:56 UTC 2018 - jengelh@inai.de
|
||||
* syntax-highlighting: replace invalid unicode with '?'
|
||||
* ui-repolist: properly sort by age
|
||||
* ui-patch: fix crash when using path limit
|
||||
- Remove cgit-built-with-git-v2.11.0.patch (merged upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 11 17:56:42 UTC 2017 - jengelh@inai.de
|
||||
|
@ -30,8 +30,7 @@ Source2: https://www.kernel.org/pub/software/scm/git/git-%git_version.tar
|
||||
Source3: https://www.kernel.org/pub/software/scm/git/git-%git_version.tar.sign
|
||||
Source4: %name.keyring
|
||||
Source9: cgitrc
|
||||
Patch0: cgit-optflags.diff
|
||||
Patch1: cgit-built-with-git-v2.11.0.patch
|
||||
Patch1: cgit-optflags.diff
|
||||
# Requirements for cgitrc man page generation
|
||||
BuildRequires: asciidoc
|
||||
# Requirements for cgit
|
||||
@ -47,12 +46,13 @@ I/O pressure.
|
||||
|
||||
%prep
|
||||
%setup -qa2
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch -P 1 -p1
|
||||
rm -rf git
|
||||
ln -s git-%git_version git
|
||||
|
||||
%build
|
||||
perl -i -pe 's{^#!/usr/bin/env }{#!/usr/bin/}g' filters/email-gravatar.py \
|
||||
filters/html-converters/md2html filters/syntax-highlighting.py
|
||||
make V=1 prefix="%_prefix" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user