]> git.pld-linux.org Git - packages/geany-plugins.git/blob - libgit2-1.0.patch
1cadc91baefaa1b39ccbe72cdd2744e15b55821e
[packages/geany-plugins.git] / libgit2-1.0.patch
1 diff -ur geany-plugins-1.36/git-changebar/src/gcb-plugin.c geany-plugins-1.36-libgit1/git-changebar/src/gcb-plugin.c
2 --- geany-plugins-1.36/git-changebar/src/gcb-plugin.c   2019-03-24 18:58:57.000000000 +0100
3 +++ geany-plugins-1.36-libgit1/git-changebar/src/gcb-plugin.c   2020-05-17 01:08:19.618324822 +0200
4 @@ -32,11 +32,11 @@
5  #include <geany.h>
6  #include <document.h>
7  
8 -#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 22
9 +#if (LIBGIT2_VER_MAJOR == 0) && (LIBGIT2_VER_MINOR < 22)
10  # define git_libgit2_init     git_threads_init
11  # define git_libgit2_shutdown git_threads_shutdown
12  #endif
13 -#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 23
14 +#if (LIBGIT2_VER_MAJOR == 0) && (LIBGIT2_VER_MINOR < 23)
15  /* 0.23 added @p binary_cb */
16  # define git_diff_buffers(old_buffer, old_len, old_as_path, \
17                            new_buffer, new_len, new_as_path, options, \
18 @@ -45,7 +45,7 @@
19                      new_buffer, new_len, new_as_path, options, \
20                      file_cb, hunk_cb, line_cb, payload)
21  #endif
22 -#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 28
23 +#if (LIBGIT2_VER_MAJOR == 0) && (LIBGIT2_VER_MINOR < 28)
24  # define git_buf_dispose  git_buf_free
25  # define git_error_last   giterr_last
26  #endif
27 diff -ur geany-plugins-1.36/workbench/src/plugin_main.c geany-plugins-1.36-libgit1/workbench/src/plugin_main.c
28 --- geany-plugins-1.36/workbench/src/plugin_main.c      2019-07-25 19:11:40.000000000 +0200
29 +++ geany-plugins-1.36-libgit1/workbench/src/plugin_main.c      2020-05-17 01:08:47.295824244 +0200
30 @@ -36,7 +36,7 @@
31  #include "tm_control.h"
32  
33  
34 -#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 22
35 +#if (LIBGIT2_VER_MAJOR == 0) && (LIBGIT2_VER_MINOR < 22)
36  # define git_libgit2_init     git_threads_init
37  # define git_libgit2_shutdown git_threads_shutdown
38  #endif
This page took 0.162617 seconds and 2 git commands to generate.