[MacPorts] #35148: gegl 0.2.0_0 Syntax error before 'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'

MacPorts noreply at macports.org
Mon Aug 6 12:38:03 PDT 2012


#35148: gegl 0.2.0_0 Syntax error before
'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
-----------------------------+----------------------------------------------
 Reporter:  jovo@…           |       Owner:  snc@…           
     Type:  defect           |      Status:  new             
 Priority:  Normal           |   Milestone:                  
Component:  ports            |     Version:  2.1.1           
 Keywords:  tiger leopard    |        Port:  gegl            
-----------------------------+----------------------------------------------

Comment(by mdbecque@…):

 Jeremyhu suggested the below reinplace be added to the post-patch of my
 port file to try his suggestion.

 ''reinplace "s:\*pixel:\*pixelp:" ${worksrcpath}/gegl/property-types/gegl-
 color.h''

 No luck with a clean build. My log file is attached. Thanks

 Replying to [comment:21 jeremyhu@…]:
 > {{{
 > void         gegl_color_set_pixel              (GeglColor   *color,
 >                                                 const Babl  *format,
 >                                                 const void  *pixel);
 // line 110
 > ...
 > void         gegl_color_get_pixel              (GeglColor   *color,
 >                                                 const Babl  *format,
 >                                                 void        *pixel);
 // line 121
 > }}}
 >
 > I wonder if "pixel" is #defined to something else... Try changing those
 occurrences of pixel to "pixelp" to see if it fixed the issue...

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


More information about the macports-tickets mailing list