Re: [MacPorts] #71519: scamper fails to build after update: error: ‘opt’ undeclared (first use in this function)

MacPorts noreply at macports.org
Thu Dec 12 14:55:16 UTC 2024


#71519: scamper fails to build after update: error: ‘opt’ undeclared (first use in
this function)
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:  scamper       |
---------------------------+--------------------

Comment (by matthewluckie):

 It was a bug in the source code (I left variable assignments behind when
 tidying code up, but that part of the code only affects old platforms).
 I've fixed the bug in my source code with the patch in the second approach
 (patch-scamper) but I think Portfile-scamper.diff is the better port fix
 because the opt.patch file in patch-scamper will shortly be unnecessary.
 Either way, thanks for letting me know and giving me the opportunity to
 fix it.

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


More information about the macports-tickets mailing list