[Mesa-dev] [PATCH] scons: Require libdrm >= 2.4.65 for DRM.

Edward O'Callaghan funfunctor at folklore1984.net
Mon Oct 24 23:55:55 UTC 2016


Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

On 10/25/2016 10:41 AM, Vinson Lee wrote:
> Fix SCons build. drmDevicePtr is not available until libdrm 2.4.65.
> 
>   Compiling src/loader/loader.c ...
> src/loader/loader.c:111:40: error: unknown type name ‘drmDevicePtr’
>  static char *drm_construct_id_path_tag(drmDevicePtr device)
>                                         ^
> 
> Fixes: 4a183f4d06f8 ("scons: loader: use libdrm when available")
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98421
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>  scons/gallium.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scons/gallium.py b/scons/gallium.py
> index 9f7555cf8bce..8cf6cc732cdc 100755
> --- a/scons/gallium.py
> +++ b/scons/gallium.py
> @@ -651,7 +651,7 @@ def generate(env):
>      env.PkgCheckModules('X11', ['x11', 'xext', 'xdamage', 'xfixes', 'glproto >= 1.4.13'])
>      env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx >= 1.8.1', 'xcb-dri2 >= 1.8'])
>      env.PkgCheckModules('XF86VIDMODE', ['xxf86vm'])
> -    env.PkgCheckModules('DRM', ['libdrm >= 2.4.38'])
> +    env.PkgCheckModules('DRM', ['libdrm >= 2.4.65'])
>  
>      if env['x11']:
>          env.Append(CPPPATH = env['X11_CPPPATH'])
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161025/2ce1d7c9/attachment.sig>


More information about the mesa-dev mailing list