HomeFreeBSD

After upgrading to 11.2-RELEASE devel/avarice fails to

Description

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: ler (mentor)
Approved by: joerg (maintainer), ler (mentor)
Differential Revision: https://reviews.freebsd.org/D16184

Details

Provenance
leresAuthored on
Reviewer
ler
Differential Revision
D16184: devel/avarice: unbreak build under 11.2-RELEASE (and clang 6)
Parents
rP474206: devel/efl: Update 1.19.2 -> 1.20.7
Branches
Unknown
Tags
Unknown