[MacPorts] #32203: atk @1.32.0 Build failure: unknown type name 'G_CONST_RETURN'27

MacPorts noreply at macports.org
Fri Nov 25 04:27:00 PST 2011


#32203: atk @1.32.0 Build failure: unknown type name 'G_CONST_RETURN'27
-------------------------------+--------------------------------------------
 Reporter:  fx.payet@…         |       Owner:  singingwolfboy@…           
     Type:  defect             |      Status:  new                        
 Priority:  Normal             |   Milestone:                             
Component:  ports              |     Version:  2.0.3                      
 Keywords:                     |        Port:  atk                        
-------------------------------+--------------------------------------------

Comment(by ocroquette@…):

 Same problem here, but the following workaround from bonoba at ... worked for
 me:

 {{{
 --- glib/gmacros.h.orig 2011-11-24 13:40:01.000000000 +0200
 +++ glib/gmacros.h      2011-11-24 13:40:16.000000000 +0200
 @@ -254,13 +254,11 @@
  #endif

  /* Deprecated -- do not use. */
 -#ifndef G_DISABLE_DEPRECATED
  #ifdef G_DISABLE_CONST_RETURNS
  #define G_CONST_RETURN
  #else
  #define G_CONST_RETURN const
  #endif
 -#endif

  /*
   * The G_LIKELY and G_UNLIKELY macros let the programmer give hints to

 }}}

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


More information about the macports-tickets mailing list