Bug 90249

Summary: Fails to build egl_dri2 on osx
Product: Mesa Reporter: Julien Isorce <julien.isorce>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: brianp, idr
Version: git   
Hardware: Other   
OS: All   
URL: https://www.khronos.org/bugzilla/show_bug.cgi?id=1356
Whiteboard:
i915 platform: i915 features:
Attachments: egl: use unix defines on osx with clang
egl: use unix defines on osx with clang

Description Julien Isorce 2015-04-30 07:43:25 UTC
Created attachment 115468 [details]
egl: use unix defines on osx with clang

CC       egl_dri2.lo
In file included from egl_dri2.c:53:
In file included from ./egl_dri2.h:69:
In file included from ../../../../src/egl/main/eglconfig.h:39:
In file included from ../../../../src/egl/main/egltypedefs.h:36:
In file included from ../../../../include/EGL/egl.h:36:
../../../../include/EGL/eglplatform.h:135:2: error: "Platform not recognized"
#error "Platform not recognized"
 ^
../../../../include/EGL/eglplatform.h:140:9: error: unknown type name 'EGLNativeDisplayType'
typedef EGLNativeDisplayType NativeDisplayType;
        ^
../../../../include/EGL/eglplatform.h:141:9: error: unknown type name 'EGLNativePixmapType'
typedef EGLNativePixmapType  NativePixmapType;
        ^
../../../../include/EGL/eglplatform.h:142:9: error: unknown type name 'EGLNativeWindowType'
typedef EGLNativeWindowType  NativeWindowType;
Comment 1 Julien Isorce 2015-06-08 20:12:42 UTC
Created attachment 116373 [details]
egl: use unix defines on osx with clang
Comment 2 Jose Fonseca 2015-06-09 19:50:53 UTC
It might be better to send the patch to mesa-dev for review.
Comment 3 Emil Velikov 2015-07-09 11:10:20 UTC
As requested on the ML an upstream bug is opened with Khronos. Please keep us posted on the progress.

Meanwhile I've pushed this to master.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.