This repository was archived by the owner on Jan 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +14
-11
lines changed
Expand file tree Collapse file tree 5 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 33_realname=libgit2
44pkgbase=mingw-w64-${_realname}
55pkgname=" ${MINGW_PACKAGE_PREFIX} -${_realname} "
6- pkgver=0.27.0
6+ pkgver=0.27.2
77pkgrel=1
88pkgdesc=' A linkable library for Git (mingw-w64)'
99arch=(' any' )
@@ -16,13 +16,16 @@ depends=("${MINGW_PACKAGE_PREFIX}-curl"
1616 " ${MINGW_PACKAGE_PREFIX} -openssl"
1717 " ${MINGW_PACKAGE_PREFIX} -zlib" )
1818makedepends=(" ${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)
2021noextract=(${_realname} -${pkgver} .tar.gz)
21- sha256sums=(' 545b0458292c786aba334f1bf1c8f73600ae73dd7205a7bb791a187ee48ab8d2' )
22+ sha256sums=(' ffacdbd5588aeb03e98e3866a7e2ceace468723a439bdc9bb01362fe140fa9e5'
23+ ' SKIP' )
2224
2325prepare () {
2426 tar --exclude tests/resources/testrepo-worktree/link_to_new.txt -zxf ${_realname} -${pkgver} .tar.gz
2527 cd ${_realname} -${pkgver}
28+ patch -p1 -i ${srcdir} /enumfix.patch
2629}
2730
2831build () {
Original file line number Diff line number Diff line change @@ -171,6 +171,12 @@ typedef enum {
171171 * Options controlling how output will be generated
172172 */
173173
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+
174180 /** Treat all files as text, disabling binary attributes & detection */
175181 GIT_DIFF_FORCE_TEXT = (1u << 20 ),
176182 /** Treat all files as binary, disabling text diffs */
@@ -206,12 +212,6 @@ typedef enum {
206212 * can apply given diff information to binary files.
207213 */
208214 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 ),
215215} git_diff_option_t ;
216216
217217/**
Original file line number Diff line number Diff line change 77#ifndef INCLUDE_git_version_h__
88#define INCLUDE_git_version_h__
99
10- #define LIBGIT2_VERSION "0.27.0 "
10+ #define LIBGIT2_VERSION "0.27.2 "
1111#define LIBGIT2_VER_MAJOR 0
1212#define LIBGIT2_VER_MINOR 27
13- #define LIBGIT2_VER_REVISION 0
13+ #define LIBGIT2_VER_REVISION 2
1414#define LIBGIT2_VER_PATCH 0
1515
1616#define LIBGIT2_SOVERSION 27
You can’t perform that action at this time.
0 commit comments