[MacPorts] #62513: ncbi_tools: error: implicit declaration of function 'write' is invalid in C99

MacPorts noreply at macports.org
Fri May 21 23:32:59 UTC 2021


#62513: ncbi_tools: error: implicit declaration of function 'write' is invalid in
C99
-----------------------------+--------------------
  Reporter:  seanhemmingsen  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  ncbi_tools      |
-----------------------------+--------------------

Comment (by weitzner):

 I downloaded the source and attempted to work through this and found the
 following steps to be necessary:

 **asn2gnb2.c:63**
 {{{
 #include <ffprint.h>
 }}}

 **salutil.c:54**
 {{{
 #include <alignmgr2.h>
 }}}

 **viewgif.c:48**
 {{{
 #include <unistd.h>
 }}}

 **wblast.c:298**
 {{{
 #include <algo/blast/core/blast_util.h>
 #include <accid1.h>
 }}}

 After making those changes I can build the tool locally and the executable
 I am interested in seems to be working correctly. I would be happy to
 contribute this fix, but as it would be my first port contribution I might
 look for a little guidance. Thanks!

-- 
Ticket URL: <https://trac.macports.org/ticket/62513#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list