New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23060 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

mesa 7.6.1_0 FTB on Tiger: conflicting types in glx_empty.c

Reported by: gale@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: mesa

Description

This happens on Tiger Intel. If you find that it does not occur on other platforms, please change "FTB" to "FTB on Tiger" in the Summary. Thanks.

/usr/bin/gcc-4.0 -I. -Iinclude -Iinclude/internal -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DGLX_USE_APPLEGL -DGLX_ALIAS_UNSUPPORTED  -I/opt/local/include -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa/files/include -O2 -arch i386 -c glx_empty.c
glx_empty.c:40: error: conflicting types for 'glXBeginFrameTrackingMESA'
include/GL/glx.h:409: error: previous declaration of 'glXBeginFrameTrackingMESA' was here
glx_empty.c:50: error: conflicting types for 'glXEndFrameTrackingMESA'
include/GL/glx.h:410: error: previous declaration of 'glXEndFrameTrackingMESA' was here
glx_empty.c:60: error: conflicting types for 'glXGetFrameUsageMESA'
include/GL/glx.h:408: error: previous declaration of 'glXGetFrameUsageMESA' was here
glx_empty.c:72: error: conflicting types for 'glXQueryFrameTrackingMESA'
include/GL/glx.h:411: error: previous declaration of 'glXQueryFrameTrackingMESA' was here
make: *** [glx_empty.o] Error 1

Error: Unable to upgrade port: 1

Attachments

glx_empty.c.patch (1.7 KB) - added by gale@… 3 years ago.
Change return type of the four functions from GLint to int in glx_empty.c

Change History

comment:1 Changed 3 years ago by gale@…

In glx.h these four functions return an int, but in glx_empty.c they return a GLint.

Note, however, that GL/gl.h contains:

typedef int GLint; /* 4-byte signed */

comment:2 Changed 3 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to jeremyhu@…

comment:3 Changed 3 years ago by jeremyhu@…

  • Summary changed from mesa 7.6.1_0 FTB: conflicting types in glx_empty.c to mesa 7.6.1_0 FTB on Tiger: conflicting types in glx_empty.c

Changed 3 years ago by gale@…

Change return type of the four functions from GLint to int in glx_empty.c

comment:4 Changed 3 years ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.