Search Criteria
Package Details: freediag 1.09-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/freediag.git (read-only, click to copy) |
|---|---|
| Package Base: | freediag |
| Description: | OBD-II vehicle diagnostic software and (mostly) J1978 compliant scan tool. |
| Upstream URL: | http://freediag.sourceforge.net/ |
| Licenses: | GPL |
| Submitter: | None |
| Maintainer: | fenugrec |
| Last Packager: | fenugrec |
| Votes: | 17 |
| Popularity: | 0.000000 |
| First Submitted: | 2009-07-02 21:03 (UTC) |
| Last Updated: | 2021-12-11 18:40 (UTC) |
Dependencies (3)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- readline (readline-gitAUR) (optional) – better CLI
Latest Comments
fenugrec commented on 2023-02-06 14:45 (UTC)
@frozen actually, that was correct, and already fixed in https://github.com/fenugrec/freediag/commit/55f9a7e95c4a4d3471350eee9f85e20168576975
I should probably make a release for that and some other build fixes.
In the meantime, you can use freediag-git which I just tested and should build properly.
fenugrec commented on 2023-02-06 14:25 (UTC) (edited on 2023-02-06 14:36 (UTC) by fenugrec)
thanks @frozen. I opened https://github.com/fenugrec/freediag/issues/82 to track that. [edit] I just confirmed it's cppcheck complaining about that area. Will check later, I don't think the correct fix is to remove that section.
frozen commented on 2023-02-06 00:18 (UTC) (edited on 2023-02-06 00:20 (UTC) by frozen)
Version 1.09 seems to fail to build due to a duplicated timeout check, here is a patch I made to remove the redundant one:
freediag-1.09-saej1850-request-fix.patch
diff --color -u -r freediag-1.09-src.orig/scantool/diag_l2_saej1850.c freediag-1.09-src.new/scantool/diag_l2_saej1850.c --- freediag-1.09-src.orig/scantool/diag_l2_saej1850.c 2021-05-30 03:37:48.000000000 +0200 +++ freediag-1.09-src.new/scantool/diag_l2_saej1850.c 2023-02-06 00:40:43.733688655 +0100 @@ -421,11 +421,6 @@ return NULL; } - /* Return the message to user, who is responsible for freeing it */ - if (!d_l2_conn->diag_msg) { - //no response, but no error either - *errval = DIAG_ERR_TIMEOUT; - } rmsg = d_l2_conn->diag_msg; d_l2_conn->diag_msg = NULL; return rmsg;and entries in PKGBUILD:
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/1.0/$pkgname-$pkgver-src.tar.gz" "freediag-1.09-saej1850-request-fix.patch") sha256sums=('23a12f417303361aebc08e931a9543d041169ba329b4c5569765de7a93de9bbc' 'ae02c1e937e5f7c9ef83e8dcdc586ca2b3aee1e8510d943fa002682274dbb819') prepare() { cd "$pkgname-$pkgver-src" patch -Np1 -i "${srcdir}/freediag-1.09-saej1850-request-fix.patch" }fenugrec commented on 2014-12-05 16:06 (UTC)
xantares commented on 2014-12-05 08:21 (UTC)
fenugrec commented on 2014-12-05 02:21 (UTC)
CupIvan commented on 2013-10-05 20:25 (UTC)
gdamjan commented on 2013-10-05 20:22 (UTC)