fritzing/fritzing-use-system-libgit2.patch
Thomas Zimmermann 40ef2fdce2 Accepting request 801373 from home:Heinervdm:branches:Education
- update version to 0.9.4 
  * fixed memory corruption in autorouter
  * dropped Qt4 support
  * new parts were added
  * A memory leak was fixed
  * translations were updated
  * File handling in parts editor was improved
- Drop patch fritzing-libgit-0.24.patch
  This patch is applyed upstream ensures
- Drop patch fritzing-folderutils-fix.patch
  This patch is applyed upstream
- Drop patch fritzing-cleanup-build-files.patch
  This patch is applyed upsteam
- Drop patch fritzing-restore-qt5.1-compatibility.patch
  Qt 5.1 support is not needed anymore
- Add appdata.xml provided by upstream

OBS-URL: https://build.opensuse.org/request/show/801373
OBS-URL: https://build.opensuse.org/package/show/Education/fritzing?expand=0&rev=55
2020-05-07 19:23:13 +00:00

27 lines
1.1 KiB
Diff

diff -Nurd fritzing-app-CD-498/phoenix.pro fritzing-app-CD-498.new/phoenix.pro
--- fritzing-app-CD-498/phoenix.pro 2019-12-01 14:05:45.000000000 +0100
+++ fritzing-app-CD-498.new/phoenix.pro 2020-05-06 20:36:12.869380287 +0200
@@ -166,7 +166,7 @@
RESOURCES += phoenixresources.qrc
# Disable this if you have (and want) libgit2 dynamically
-LIBGIT_STATIC = true
+LIBGIT_STATIC = false
include(pri/libgit2detect.pri)
include(pri/boostdetect.pri)
diff -Nurd fritzing-app-CD-498/src/version/partschecker.cpp fritzing-app-CD-498.new/src/version/partschecker.cpp
--- fritzing-app-CD-498/src/version/partschecker.cpp 2019-12-01 14:05:45.000000000 +0100
+++ fritzing-app-CD-498.new/src/version/partschecker.cpp 2020-05-06 20:44:30.824507804 +0200
@@ -115,8 +115,8 @@
/**
* Connect to the remote.
*/
-#if LIBGIT2_VER_MINOR > 24
- error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL, NULL);
+#if LIBGIT2_VER_MINOR > 24 || LIBGIT2_VER_MAJOR >= 1
+ 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);
#else