From a5c315d41490d825cbc2a7f1d60e2937af218b5a Mon Sep 17 00:00:00 2001 From: Andreas Wacknitz <A.Wacknitz@gmx.de> Date: Wed, 27 Mar 2024 21:42:51 +0100 Subject: [PATCH] libgit2: provide a compatibility link for the previous version needed by cargo --- components/library/libgit2/libgit2.p5m | 3 +++ components/library/libgit2/Makefile | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/components/library/libgit2/Makefile b/components/library/libgit2/Makefile index b1d7118..2e231c5 100644 --- a/components/library/libgit2/Makefile +++ b/components/library/libgit2/Makefile @@ -21,6 +21,7 @@ COMPONENT_NAME= libgit2 COMPONENT_VERSION= 1.8.0 +COMPONENT_REVISION= 1 COMPONENT_SUMMARY= Portable implementation of the Git core methods provided as a library COMPONENT_PROJECT_URL= https://libgit2.github.com/ COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) diff --git a/components/library/libgit2/libgit2.p5m b/components/library/libgit2/libgit2.p5m index bdfeba5..15767c4 100644 --- a/components/library/libgit2/libgit2.p5m +++ b/components/library/libgit2/libgit2.p5m @@ -122,4 +122,7 @@ link path=usr/lib/$(MACH64)/libgit2.so target=libgit2.so.1.8 file path=usr/lib/$(MACH64)/libgit2.so.$(HUMAN_VERSION) link path=usr/lib/$(MACH64)/libgit2.so.1.8 target=libgit2.so.$(HUMAN_VERSION) +# We need to provide the last version, too, because cargo (rustc) is linked against it. +# Remember to check for backwards compatibility as cargo is needed to rebuild the rustc package. +link path=usr/lib/$(MACH64)/libgit2.so.1.7 target=libgit2.so.1.8 file path=usr/lib/$(MACH64)/pkgconfig/libgit2.pc -- Gitblit v1.9.3