Page MenuHomeFreeBSD

devel/avarice: unbreak build under 11.2-RELEASE (and clang 6)
ClosedPublic

Authored by leres on Jul 8 2018, 8:57 PM.
Tags
None
Referenced Files
F170047308: D16184.id45032.diff
Thu, Sep 3, 8:51 AM
F170044152: D16184.diff
Thu, Sep 3, 8:36 AM
Unknown Object (File)
Wed, Sep 2, 1:10 PM
Unknown Object (File)
Wed, Sep 2, 1:08 PM
Unknown Object (File)
Wed, Sep 2, 1:02 PM
Unknown Object (File)
Fri, Aug 21, 9:01 PM
Unknown Object (File)
Sat, Aug 15, 9:09 PM
Unknown Object (File)
Sat, Aug 15, 4:25 AM
Subscribers

Details

Summary

Proposed commit message:

After upgrading to 11.2-RELEASE devel/avarice fails to
compile with:

jtagrw.cc:134:13: error: cannot initialize return object of type 'uchar *' (aka 'unsigned char *') with an rvalue of type 'bool'

            return false;
                   ^~~~~

examination of the code shows another case with a similar
check that returns NULL.

I also filed an upstream bug report:

https://sourceforge.net/p/avarice/bugs/24/

PR: 229376
Reviewed by: ? (mentor)
Approved by: joerg (maintainer), ? (mentor)
Differential Revision: ?

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable