* update libgit2 to 1:1.7.1-1
This commit is contained in:
parent
6709076665
commit
e89311665e
@ -7,8 +7,8 @@
|
||||
pkgname=libgit2
|
||||
# NOTE: add the following packages to rebuild TODOs on soname change (although they do not link against libgit2.so):
|
||||
# julia
|
||||
pkgver=1.7.0
|
||||
pkgrel=3
|
||||
pkgver=1.7.1
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="A linkable library for Git"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
@ -28,24 +28,9 @@ makedepends=(
|
||||
python
|
||||
)
|
||||
provides=(libgit2.so)
|
||||
source=(
|
||||
$url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz
|
||||
$pkgname-1.7.0-git_oidarray_include.patch
|
||||
$pkgname-1.7.0-cleanup_grafts.patch::https://github.com/libgit2/libgit2/commit/9d4c550564ee254dda9e2620c4c1e32ebb529728.patch
|
||||
)
|
||||
sha512sums=('68c8ed289de7daccaec17ea2ac49f4610325595cf90cddef763a31546a0a1c6bd400bf6180b68e2d3a8bdc3d031328efbbbaf3b61467dfc1b944e8cf3efcfd69'
|
||||
'c39992e337da29038784976ebcc37ee246870042c0342a4baa06ad0542df8bc20fcd8ad45ab4c45ab8074ce5905ae9d963d51a16f870afb59e8f6b71a357d4a5'
|
||||
'0ec0580e08df3f08d8609b35f91eba9b665fdf2ad1eb6ca68b0745fbf7b86c344bef370b325211892ac6f5040e147241808994edbc10ff3822363c800857eb93')
|
||||
b2sums=('3382efb1f82e5598eae9f72b145fc8cc19876d925ae94513e42e5e8bedfbb923387d3c5d4c80f1333fe6b07e5d96866d4d0776b2190a50f6929862f943815d8f'
|
||||
'6b2cc62400816851c0e0b7b491aa78bb73fa8f15d37a31e816745a53c2a1a3d96fc724b5c9b050d2c4af7f31fc4856aa31c26c7b7a63525d008bb0a6d1bfdabf'
|
||||
'eb204485404ce55c0881a41b946c58b70e1814ee17e8accea786e802d4c8c3a069d63886615433f278277a8b4c67d9a3a6125fea78dafda4cbad3b5204f29245')
|
||||
|
||||
prepare() {
|
||||
# add missing include needed when registering custom transports: https://github.com/libgit2/libgit2/issues/6607
|
||||
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-1.7.0-git_oidarray_include.patch
|
||||
# make reuse of grafts "safe"
|
||||
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-1.7.0-cleanup_grafts.patch
|
||||
}
|
||||
source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
|
||||
sha512sums=('08e60dde0cdf57006cf0c5f27a82220aba8d701bf7d6d709ffe312975ffa5dbef009ccb1e7cbe570b9502f4361d06ace44dbfd9a5f5f8ad08e9b0ca05bef765e')
|
||||
b2sums=('9c50d3c25d1cc58e5fab60b4c438c91479dd57138a14a48a8b692bb6b43733f59759172043c94198df63fa1e4eb40c548bb78c94bc57fb99682059be57a5c3e2')
|
||||
|
||||
build() {
|
||||
local cmake_options=(
|
||||
|
12
libgit2/libgit2-1.7.0-git_oidarray_include.patch
Normal file
12
libgit2/libgit2-1.7.0-git_oidarray_include.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git i/include/git2/sys/transport.h w/include/git2/sys/transport.h
|
||||
index 96a35d08c..370ca45d5 100644
|
||||
--- i/include/git2/sys/transport.h
|
||||
+++ w/include/git2/sys/transport.h
|
||||
@@ -9,6 +9,7 @@
|
||||
#define INCLUDE_sys_git_transport_h
|
||||
|
||||
#include "git2/net.h"
|
||||
+#include "git2/oidarray.h"
|
||||
#include "git2/proxy.h"
|
||||
#include "git2/remote.h"
|
||||
#include "git2/strarray.h"
|
Loading…
x
Reference in New Issue
Block a user