This repository was archived by the owner on Jan 16, 2024. It is now read-only.
File tree 5 files changed +14
-11
lines changed
5 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 3
3
_realname=libgit2
4
4
pkgbase=mingw-w64-${_realname}
5
5
pkgname=" ${MINGW_PACKAGE_PREFIX} -${_realname} "
6
- pkgver=0.27.0
6
+ pkgver=0.27.2
7
7
pkgrel=1
8
8
pkgdesc=' A linkable library for Git (mingw-w64)'
9
9
arch=(' any' )
@@ -16,13 +16,16 @@ depends=("${MINGW_PACKAGE_PREFIX}-curl"
16
16
" ${MINGW_PACKAGE_PREFIX} -openssl"
17
17
" ${MINGW_PACKAGE_PREFIX} -zlib" )
18
18
makedepends=(" ${MINGW_PACKAGE_PREFIX} -cmake" " ${MINGW_PACKAGE_PREFIX} -gcc" )
19
- source=(${_realname} -${pkgver} .tar.gz::" https://github.com/libgit2/libgit2/archive/v${pkgver} .tar.gz" )
19
+ source=(${_realname} -${pkgver} .tar.gz::" https://github.com/libgit2/libgit2/archive/v${pkgver} .tar.gz"
20
+ enumfix.patch)
20
21
noextract=(${_realname} -${pkgver} .tar.gz)
21
- sha256sums=(' 545b0458292c786aba334f1bf1c8f73600ae73dd7205a7bb791a187ee48ab8d2' )
22
+ sha256sums=(' ffacdbd5588aeb03e98e3866a7e2ceace468723a439bdc9bb01362fe140fa9e5'
23
+ ' SKIP' )
22
24
23
25
prepare () {
24
26
tar --exclude tests/resources/testrepo-worktree/link_to_new.txt -zxf ${_realname} -${pkgver} .tar.gz
25
27
cd ${_realname} -${pkgver}
28
+ patch -p1 -i ${srcdir} /enumfix.patch
26
29
}
27
30
28
31
build () {
Original file line number Diff line number Diff line change @@ -171,6 +171,12 @@ typedef enum {
171
171
* Options controlling how output will be generated
172
172
*/
173
173
174
+ /** Use a heuristic that takes indentation and whitespace into account
175
+ * which generally can produce better diffs when dealing with ambiguous
176
+ * diff hunks.
177
+ */
178
+ GIT_DIFF_INDENT_HEURISTIC = (1u << 18 ),
179
+
174
180
/** Treat all files as text, disabling binary attributes & detection */
175
181
GIT_DIFF_FORCE_TEXT = (1u << 20 ),
176
182
/** Treat all files as binary, disabling text diffs */
@@ -206,12 +212,6 @@ typedef enum {
206
212
* can apply given diff information to binary files.
207
213
*/
208
214
GIT_DIFF_SHOW_BINARY = (1u << 30 ),
209
-
210
- /** Use a heuristic that takes indentation and whitespace into account
211
- * which generally can produce better diffs when dealing with ambiguous
212
- * diff hunks.
213
- */
214
- GIT_DIFF_INDENT_HEURISTIC = (1u << 31 ),
215
215
} git_diff_option_t ;
216
216
217
217
/**
Original file line number Diff line number Diff line change 7
7
#ifndef INCLUDE_git_version_h__
8
8
#define INCLUDE_git_version_h__
9
9
10
- #define LIBGIT2_VERSION "0.27.0 "
10
+ #define LIBGIT2_VERSION "0.27.2 "
11
11
#define LIBGIT2_VER_MAJOR 0
12
12
#define LIBGIT2_VER_MINOR 27
13
- #define LIBGIT2_VER_REVISION 0
13
+ #define LIBGIT2_VER_REVISION 2
14
14
#define LIBGIT2_VER_PATCH 0
15
15
16
16
#define LIBGIT2_SOVERSION 27
You can’t perform that action at this time.
0 commit comments