From 23b9ae465ca930428422adf5182b6e106c36195c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 8 Jul 2015 13:00:55 +0200 Subject: [PATCH] Revert "libgit2: update to 0.23.0 (soname bump)." This reverts commit e2a72d870036e5f70c4181487d79e1bae1a4792c. --- common/shlibs | 2 +- srcpkgs/libgit2/template | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/shlibs b/common/shlibs index 811bed78c25..4e5e6562706 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1210,7 +1210,7 @@ libunwind-x86_64.so.8 libunwind-1.1_1 libunwind-x86.so.8 libunwind-1.1_1 libunwind-arm.so.8 libunwind-1.1_4 libmicrohttpd.so.10 libmicrohttpd-0.9.26_1 -libgit2.so.23 libgit2-0.23.0_1 +libgit2.so.22 libgit2-0.22.0_1 libagg.so.2 agg-2.5_1 libzzip-0.so.13 zziplib-0.13.62_1 libzzipfseeko-0.so.13 zziplib-0.13.62_1 diff --git a/srcpkgs/libgit2/template b/srcpkgs/libgit2/template index fb1a8c0f0a7..a3b1c014356 100644 --- a/srcpkgs/libgit2/template +++ b/srcpkgs/libgit2/template @@ -1,6 +1,6 @@ # Template file for 'libgit2' pkgname=libgit2 -version=0.23.0 +version=0.22.3 revision=1 build_style=cmake hostmakedepends="cmake python git pkg-config" @@ -10,13 +10,13 @@ maintainer="Juan RP " homepage="http://libgit2.github.com/" license="GPL-2 with Linking Exception" distfiles="https://github.com/libgit2/libgit2/archive/v${version}.tar.gz" -checksum=49d75c601eb619481ecc0a79f3356cc26b89dfa646f2268e434d7b4c8d90c8a1 +checksum=511fe60e7c12c3525b4e0489861e5c1fe0e331d604bee9a3dfb8420c2f288f60 case "$XBPS_TARGET_MACHINE" in -*-musl) - # Don't use qsort_r, see src/util.c - CFLAGS="-D__ANDROID_API__" - ;; + *-musl) + # Don't use qsort_r, see src/util.c + CFLAGS="-D__ANDROID_API__" + ;; esac libgit2-devel_package() {