[packages/libgit2-glib] - rel 2; fix build with libgit2
arekm
arekm at pld-linux.org
Thu Sep 20 18:13:12 CEST 2018
commit 315b97ca50f158bc3fe91858f13cc1d60ebc42da
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Sep 20 18:13:01 2018 +0200
- rel 2; fix build with libgit2
build.patch | 10 ++++++++++
libgit2-glib.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/libgit2-glib.spec b/libgit2-glib.spec
index f7eaadb..706bfb9 100644
--- a/libgit2-glib.spec
+++ b/libgit2-glib.spec
@@ -7,11 +7,12 @@ Summary: GLib wrapper library around the libgit2 git access library
Summary(pl.UTF-8): Biblioteka obudowania GLib do biblioteki dostępu do gita libgit2
Name: libgit2-glib
Version: 0.26.4
-Release: 1
+Release: 2
License: LGPL v2.1+
Group: Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgit2-glib/0.26/%{name}-%{version}.tar.xz
# Source0-md5: 042bbee8f440adacd0532c1e2f389d52
+Patch0: build.patch
URL: https://wiki.gnome.org/Libgit2-glib
BuildRequires: glib2-devel >= 1:2.44.0
BuildRequires: gobject-introspection-devel >= 0.10.1
@@ -104,6 +105,7 @@ API języka Vala do biblioteki libgit2-glib.
%prep
%setup -q
+%patch0 -p1
%build
%meson build \
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..f23af43
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,10 @@
+--- libgit2-glib-0.26.4/libgit2-glib/ggit-config.c~ 2018-03-02 10:51:47.000000000 +0100
++++ libgit2-glib-0.26.4/libgit2-glib/ggit-config.c 2018-09-20 18:11:04.838368107 +0200
+@@ -295,6 +295,7 @@ ggit_config_add_file (GgitConfig *c
+ ret = git_config_add_file_ondisk (_ggit_native_get (config),
+ path,
+ (git_config_level_t)level,
++ NULL,
+ force);
+ g_free (path);
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgit2-glib.git/commitdiff/315b97ca50f158bc3fe91858f13cc1d60ebc42da
More information about the pld-cvs-commit
mailing list