From ef28eb4720cc80fe78b966ef95e4ce5638650c9e Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Tue, 19 Dec 2017 11:39:33 +0100 Subject: nx-X11/extras/Mesa.patches_6.4.2/4002_no-special-glx-memfunctions.patch: include stdlib.h and string.h for memset, malloc and free prototypes. Without that they are only implicitly defined - leading to build failures on *SUSE. --- .../Mesa.patches_6.4.2/4002_no-special-glx-memfunctions.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/nx-X11/extras/Mesa.patches_6.4.2/4002_no-special-glx-memfunctions.patch b/nx-X11/extras/Mesa.patches_6.4.2/4002_no-special-glx-memfunctions.patch index 4f6803730..924cbe531 100644 --- a/nx-X11/extras/Mesa.patches_6.4.2/4002_no-special-glx-memfunctions.patch +++ b/nx-X11/extras/Mesa.patches_6.4.2/4002_no-special-glx-memfunctions.patch @@ -1,13 +1,14 @@ Description: Turn glx_ansic.h into a no-op include. (by using memset, malloc, free directly) Author: Mike Gabriel -Index: Mesa/src/mesa/drivers/dri/common/glcontextmodes.c -=================================================================== ---- Mesa.orig/src/mesa/drivers/dri/common/glcontextmodes.c -+++ Mesa/src/mesa/drivers/dri/common/glcontextmodes.c -@@ -48,15 +48,14 @@ +--- a/src/mesa/drivers/dri/common/glcontextmodes.c ++++ b/src/mesa/drivers/dri/common/glcontextmodes.c +@@ -44,16 +44,17 @@ + # include "GL/glxint.h" # ifdef XFree86Server ++# include ++# include # include "GL/glx_ansic.h" -extern void * __glXMalloc( size_t size ); -extern void __glXFree( void * ptr ); -- cgit v1.2.3