Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gekon:fritzing
fritzing
0001-Loosen-libgit2-version-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Loosen-libgit2-version-check.patch of Package fritzing
diff --git a/src/version/partschecker.cpp b/src/version/partschecker.cpp index 4f45cdf8..d8592dc8 100644 --- a/src/version/partschecker.cpp +++ b/src/version/partschecker.cpp @@ -117,7 +117,7 @@ bool PartsChecker::newPartsAvailable(const QString &repoPath, const QString & sh * Connect to the remote. */ DebugDialog::debug(QString("remote %1").arg(git_remote_url(remote))); -#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR > 24) +#if LIBGIT2_VER_MINOR > 24 || LIBGIT2_VER_MAJOR >=1 error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, nullptr, nullptr); #elif LIBGIT2_VER_MINOR == 24 error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor