diff --git a/srcpkgs/Fritzing/patches/libgit2.patch b/srcpkgs/Fritzing/patches/libgit2.patch index dd11447f187..2692ae065ef 100644 --- a/srcpkgs/Fritzing/patches/libgit2.patch +++ b/srcpkgs/Fritzing/patches/libgit2.patch @@ -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); diff --git a/srcpkgs/Fritzing/template b/srcpkgs/Fritzing/template index 6c624ff5f23..ea09c1b8d44 100644 --- a/srcpkgs/Fritzing/template +++ b/srcpkgs/Fritzing/template @@ -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