]> git.pld-linux.org Git - packages/libgit2-glib.git/commitdiff
- rel 2; fix build with libgit2 auto/th/libgit2-glib-0.26.4-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 20 Sep 2018 16:13:01 +0000 (18:13 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 20 Sep 2018 16:13:01 +0000 (18:13 +0200)
build.patch [new file with mode: 0644]
libgit2-glib.spec

diff --git a/build.patch b/build.patch
new file mode 100644 (file)
index 0000000..f23af43
--- /dev/null
@@ -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);
index f7eaadb9f9a651d1e0265a248eae912bdc405a30..706bfb9b6bfa26d91a5a142611fc08fec55aa09e 100644 (file)
@@ -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 \
This page took 0.046798 seconds and 4 git commands to generate.