Created attachment 195661 [details]
Replace "NULL" on "0" in initialization of "unsigned int options" in include/h323/h323ep.h
After update gcc from 6.4 to 7.3 net/opal fail to build with error message:
> In file included from /tmp/work/usr/ports/net/opal/work/opal-3.10.10/src/opal/console_mgr.cxx:39:
> /tmp/work/usr/ports/net/opal/work/opal-3.10.10/include/h323/h323ep.h:148:20: error: cannot initialize a parameter of type
> 'unsigned int' with an rvalue of type 'nullptr_t'
> unsigned int options = NULL, ///< options to pass to conneciton
Patch is trivial - replace NULL on 0.
Just put my patch in net/opal/files - work for me on 11.2 amd64 and i386.
Can anybody commit the patch?
Patch compiled also for me. 11-2-p5 i386
5 months left for 1 line patch!
How to set maintainer timeout?
(In reply to VVD from comment #3)
> 5 months left for 1 line patch!
Same on 12.0 i386 and amd64.
A commit references this bug:
Date: Sun Jan 27 14:18:19 UTC 2019
New revision: 491353
net/opal: fix build with H323 option enabled
Submitted by: VVD <firstname.lastname@example.org>
Committed, thanks for the patch, sorry it took so long to commit.