]> git.pld-linux.org Git - packages/libgit2.git/commitdiff
- added no-libgit2-test patch (disable patch requiring local libgit2 repository,...
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Nov 2013 16:11:45 +0000 (17:11 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Nov 2013 16:11:45 +0000 (17:11 +0100)
libgit2-no-libgit2-test.patch [new file with mode: 0644]
libgit2.spec

diff --git a/libgit2-no-libgit2-test.patch b/libgit2-no-libgit2-test.patch
new file mode 100644 (file)
index 0000000..acb5691
--- /dev/null
@@ -0,0 +1,11 @@
+--- libgit2-0.20.0/tests/blame/simple.c.orig   2013-11-20 12:53:33.000000000 +0100
++++ libgit2-0.20.0/tests/blame/simple.c        2013-11-29 16:59:19.887747596 +0100
+@@ -130,7 +130,7 @@
+  * bf477ed4 include/git2.h 45 (Michael Schubert    2012-02-15 00:33:38 +0100 59
+  * d12299fe src/git.h      49 (Vicent Martí        2010-12-03 22:22:10 +0200 60
+  */
+-void test_blame_simple__trivial_libgit2(void)
++/*disable*/ void test_blame_simple__trivial_libgit2(void)
+ {
+       git_blame_options opts = GIT_BLAME_OPTIONS_INIT;
+       git_object *obj;
index f8d003a11d2f4bb8240b55a71d4b71e591f8370f..c907a8af3fd9fc100f7118514dfc66610c566d50 100644 (file)
@@ -13,6 +13,7 @@ Group:                Libraries
 Source0:       https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
 # Source0-md5: e35f613a37e11354f34249f2faa68237
 Patch0:                %{name}-test-online.patch
+Patch1:                %{name}-no-libgit2-test.patch
 URL:           http://libgit2.github.com/
 BuildRequires: cmake >= 2.6
 BuildRequires: http-parser-devel
@@ -51,6 +52,7 @@ Pliki nagłówkowe biblioteki libgit2.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
This page took 0.087701 seconds and 4 git commands to generate.