Fritzing: rebuild for libgit2-1.0.0

This commit is contained in:
q66 2020-05-03 19:09:10 +02:00 committed by Daniel Kolesa
parent 7f97e7c382
commit 76d19e449f
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
make compatible with libgit2 >= 0.24.0
https://github.com/fritzing/fritzing-app/commit/4cb5185d464bf98e9da5ceca72d5af907ff824ef
https://github.com/fritzing/fritzing-app/commit/472951243d70eeb40a53b1f7e16e6eab0588d079
--- src/version/partschecker.cpp.orig 2016-06-01 21:48:27.000000000 +0200
+++ src/version/partschecker.cpp 2018-01-13 11:30:34.895137270 +0100
@ -7,7 +8,7 @@ https://github.com/fritzing/fritzing-app/commit/4cb5185d464bf98e9da5ceca72d5af90
/**
* Connect to the remote.
*/
+#if LIBGIT2_VER_MINOR > 24
+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR > 24)
+ error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL, NULL);
+#elif LIBGIT2_VER_MINOR == 24
+ error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL);

View file

@ -1,7 +1,7 @@
# Template file for 'Fritzing'
pkgname=Fritzing
version=0.9.3b
revision=4
revision=5
_partshash=359eb1933622e4c4fa456ad043543681984a4d64 # 2018-03-14
wrksrc="fritzing-app-${version}"
build_style=qmake