summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgit-0.10.1-raw-patch.patch10
-rw-r--r--cgit.spec7
2 files changed, 16 insertions, 1 deletions
diff --git a/cgit-0.10.1-raw-patch.patch b/cgit-0.10.1-raw-patch.patch
new file mode 100644
index 0000000..753e2ea
--- /dev/null
+++ b/cgit-0.10.1-raw-patch.patch
@@ -0,0 +1,10 @@
+diff -Nur cgit-0.10.1.orig/ui-patch.c cgit-0.10.1/ui-patch.c
+--- cgit-0.10.1.orig/ui-patch.c 2014-02-27 16:12:08.000000000 -0700
++++ cgit-0.10.1/ui-patch.c 2014-06-11 21:09:53.205184135 -0600
+@@ -82,4 +82,6 @@
+ log_tree_commit(&rev, commit);
+ printf("-- \ncgit %s\n\n", cgit_version);
+ }
++
++ fflush(stdout);
+ }
diff --git a/cgit.spec b/cgit.spec
index 26d4502..20aaad8 100644
--- a/cgit.spec
+++ b/cgit.spec
@@ -22,7 +22,7 @@ make V=1 %{?_smp_mflags} \\\
Name: cgit
Version: 0.10.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A fast web interface for git
Group: Development/Tools
@@ -37,6 +37,7 @@ Source3: cgit.httpd
Patch1: cgit-0.9.1-highlightv3.patch
BuildRequires: highlight
%endif
+Patch2: cgit-0.10.1-raw-patch.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: asciidoc
@@ -61,6 +62,7 @@ Cgit is a fast web interface for git. It uses caching to increase performance.
%if 0%{?fedora} || 0%{?rhel} >= 6
%patch1 -p1
%endif
+%patch2 -p1
# setup the git dir
rm -rf git
@@ -105,6 +107,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Jun 11 2014 Kevin Fenzi <kevin@scrye.com> 0.10.1-4
+- Add patch to fix raw patch handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild