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

MacPorts noreply at macports.org
Sun Nov 18 09:26:32 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 peeter.as@…):

 Replying to [comment:7 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".

 Thank you for the information!

 Which port commands to use to recompile after changing the source file?

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


More information about the macports-tickets mailing list