[MacPorts] #35177: mplayer2 fails to compile: conflicting types for 'Cursor'

MacPorts noreply at macports.org
Fri Jul 20 13:16:59 PDT 2012


#35177: mplayer2 fails to compile: conflicting types for 'Cursor'
--------------------------------------+-------------------------------------
 Reporter:  samuel.bateman@…          |       Owner:  cal@…           
     Type:  defect                    |      Status:  new             
 Priority:  Normal                    |   Milestone:                  
Component:  ports                     |     Version:  2.1.1           
 Keywords:  haspatch                  |        Port:  mplayer2        
--------------------------------------+-------------------------------------

Comment(by sasoph@…):

 I'm still getting a similar error:
 {{{
 /usr/bin/gcc-4.0 -MD -MP -Wundef   -Wstrict-prototypes -Wmissing-
 prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99  -O2 -arch
 ppc -maltivec -mabi=altivec -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE64_SOURCE -falign-loops=16 -shared-libgcc -mdynamic-no-pic -I.
 -I/opt/local/include -I/opt/local/include/freetype2 -O2 -arch ppc -Wno-
 pointer-sign -I/opt/local/include -I/opt/local/include/freetype2
 -I/usr/X11/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
 -I/opt/local/include -I/opt/local/include/fribidi
 -I/opt/local/include/freetype2   -I/opt/local/include
 -I/opt/local/include/libdvdread -c -o libvo/vo_corevideo.o
 libvo/vo_corevideo.m
 In file included from /opt/local/include/X11/Xlib.h:44,
                  from /opt/local/include/GL/glx.h:38,
                  from libvo/gl_common.h:41,
                  from libvo/vo_corevideo.m:40:
 /opt/local/include/X11/X.h:103: error: conflicting types for 'Cursor'
 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269:
 error: previous declaration of 'Cursor' was here
 make: *** [libvo/vo_corevideo.o] Error 1
 }}}

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


More information about the macports-tickets mailing list