[MacPorts] #36470: py27-pygrib: error: use of undeclared identifier 'voidp'; did you mean 'void'?

MacPorts noreply at macports.org
Sun Nov 18 08:18:27 PST 2012


#36470: py27-pygrib: error: use of undeclared identifier 'voidp'; did you mean
'void'?
----------------------------+----------------------
  Reporter:  tylordippel@…  |      Owner:  jswhit@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  py27-pygrib    |
----------------------------+----------------------

Comment (by Eric.J.Fielding@…):

 As a temporary patch, I was able to get the existing pygrib 1.9.2 code to
 build with the change suggested by jmr above (voidp should be png_voidp).
 I went into the work directory of a failed build
 (py27-pygrib/work/pygrib-1.9.2) and edited these two files:

 g2clib_src/dec_png.c [[BR]]
 g2clib_src/enc_png.c

 On line 91 of both files, change "voidp" to "png_voidp".

-- 
Ticket URL: <https://trac.macports.org/ticket/36470#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list