[Mesa-stable] [Mesa-dev] [PATCH 1/2] glx/dri2: fix build failure on HURD

Ian Romanick idr at freedesktop.org
Sat Mar 1 09:34:13 PST 2014


This patch is

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 03/01/2014 01:11 AM, Fabio Pedretti wrote:
> From: Julien Cristau <jcristau at debian.org>
>
> Patch from Debian package.
>
> Cc: "10.1" <mesa-stable at lists.freedesktop.org>
> ---
>   src/glx/dri2_query_renderer.c | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/src/glx/dri2_query_renderer.c b/src/glx/dri2_query_renderer.c
> index b50a202..95560cb 100644
> --- a/src/glx/dri2_query_renderer.c
> +++ b/src/glx/dri2_query_renderer.c
> @@ -20,6 +20,9 @@
>    * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
>    * DEALINGS IN THE SOFTWARE.
>    */
> +
> +#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
> +
>   #include "glxclient.h"
>   #include "glx_error.h"
>   #include "xf86drm.h"
> @@ -95,3 +98,5 @@ dri2_query_renderer_string(struct glx_screen *base, int attribute,
>
>      return psc->rendererQuery->queryString(psc->driScreen, dri_attribute, value);
>   }
> +
> +#endif /* GLX_DIRECT_RENDERING */
>



More information about the mesa-stable mailing list