Based on the positive feedback from Ximin Luo I have uploaded my FTBFS fix for 
fritzing as a NMU. A debdiff of what was finally uploaded is attatched (which 
other than the changelog is the same as the raspbian debdiff I linked earlier).


diff -Nru fritzing-0.9.3b+dfsg/debian/changelog 
fritzing-0.9.3b+dfsg/debian/changelog
--- fritzing-0.9.3b+dfsg/debian/changelog       2017-01-23 16:27:29.000000000 
+0000
+++ fritzing-0.9.3b+dfsg/debian/changelog       2017-10-19 14:43:00.000000000 
+0000
@@ -1,3 +1,11 @@
+fritzing (0.9.3b+dfsg-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Set new "proxy" parameter in git_remote_connect to NULL (Closes: 872847)
+  * Bump libgit2 build-dependency to >= 0.25 due to above patch.
+
+ -- Peter Michael Green <plugw...@debian.org>  Thu, 19 Oct 2017 14:43:00 +0000
+
 fritzing (0.9.3b+dfsg-4) unstable; urgency=medium
 
   * created a shell script to launch fritzing with a special pwd.
diff -Nru fritzing-0.9.3b+dfsg/debian/control 
fritzing-0.9.3b+dfsg/debian/control
--- fritzing-0.9.3b+dfsg/debian/control 2016-11-01 12:05:59.000000000 +0000
+++ fritzing-0.9.3b+dfsg/debian/control 2017-09-21 02:29:48.000000000 +0000
@@ -11,7 +11,7 @@
                libqt5svg5-dev,
                zlib1g-dev,
                libboost-dev,
-               libgit2-dev (>= 0.24.1),
+               libgit2-dev (>= 0.25),
                sqlite3
 Standards-Version: 3.9.8
 Vcs-Browser: https://bazaar.launchpad.net/~ehbello/fritzing/debian/changes
diff -Nru fritzing-0.9.3b+dfsg/debian/patches/add-proxy-parameter.diff 
fritzing-0.9.3b+dfsg/debian/patches/add-proxy-parameter.diff
--- fritzing-0.9.3b+dfsg/debian/patches/add-proxy-parameter.diff        
1970-01-01 00:00:00.000000000 +0000
+++ fritzing-0.9.3b+dfsg/debian/patches/add-proxy-parameter.diff        
2017-09-21 02:28:07.000000000 +0000
@@ -0,0 +1,14 @@
+Description:  Set new "proxy" parameter in git_remote_connect to NULL
+Author: Peter Michael Green <plugw...@raspbian.org>
+
+--- fritzing-0.9.3b+dfsg.orig/src/version/partschecker.cpp
++++ fritzing-0.9.3b+dfsg/src/version/partschecker.cpp
+@@ -123,7 +123,7 @@ bool PartsChecker::newPartsAvailable(con
+      */
+     git_strarray customheaders;
+     customheaders.count = 0;
+-    error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, 
&customheaders);
++    error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks,NULL, 
&customheaders);
+     if (error) {
+         partsCheckerResult.partsCheckerError = PARTS_CHECKER_ERROR_REMOTE;
+         partsCheckerResult.errorMessage = QObject::tr("Unable to access 
network site for '%1'. %2").arg(repoPath).arg(sBoilerPlate1);
diff -Nru fritzing-0.9.3b+dfsg/debian/patches/series 
fritzing-0.9.3b+dfsg/debian/patches/series
--- fritzing-0.9.3b+dfsg/debian/patches/series  2017-01-23 16:27:29.000000000 
+0000
+++ fritzing-0.9.3b+dfsg/debian/patches/series  2017-09-21 02:27:39.000000000 
+0000
@@ -4,3 +4,4 @@
 git-remote-connect.patch
 no-isystem-for-gcc6.patch
 fritzing.desktop.patch
+add-proxy-parameter.diff

Reply via email to