[X2Go-Commits] [nx-libs] 03/03: 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.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 19 11:41:26 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit ef28eb4720cc80fe78b966ef95e4ce5638650c9e
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Dec 19 11:39:33 2017 +0100

    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 4f68037..924cbe5 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 <mike.gabriel at das-netzwerkteam.de>
 
-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 <stdlib.h>
++#  include <string.h>
  #  include "GL/glx_ansic.h"
 -extern void * __glXMalloc( size_t size );
 -extern void __glXFree( void * ptr );

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list