[MacPorts] #18812: xorg-server-devel: build fails in glx

MacPorts noreply at macports.org
Thu Mar 12 14:36:16 PDT 2009


#18812: xorg-server-devel: build fails in glx
---------------------------------+------------------------------------------
 Reporter:  devans@…             |       Owner:  jeremyhu@…           
     Type:  defect               |      Status:  new                  
 Priority:  Normal               |   Milestone:  Port Bugs            
Component:  ports                |     Version:  1.8.0                
 Keywords:                       |        Port:  xorg-server-devel    
---------------------------------+------------------------------------------

Comment(by jeremyhu@…):

 Ok, so like 808 in the c file:

 {{{
 ALIAS(Fogiv, Fogfv)
 }}}

 line 46 in the h file:

 {{{
 extern PURE HIDDEN int __glXFogivReqSize(const GLbyte *pc, Bool swap);
 }}}

 We have this for PURE and HIDDEN
 {{{
 #  if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) &&
 defined(__ELF__)
 #    define HIDDEN  __attribute__((visibility("hidden")))
 #  else
 #    define HIDDEN
 #  endif

 #  if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
 #    define PURE __attribute__((pure))
 #  else
 #    define PURE
 #  endif
 }}}

 And for alias...
 {{{
 #ifdef HAVE_ALIAS
 #  define ALIAS2(from,to) \
     GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
         __attribute__ ((alias( # to )));
 #  define ALIAS(from,to) ALIAS2( from, __glX ## to ## ReqSize )
 #else
 #  define ALIAS(from,to) \
     GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
     { return __glX ## to ## ReqSize( pc, swap ); }
 #endif
 }}}

 Can you tell me if you have HAVE_ALIAS defined in your include/dix-
 config.h file (in the worksrcpath)

 This might just be a Tiger issue, too...

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


More information about the macports-tickets mailing list