Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
4405c6a6
Unverified
Commit
4405c6a6
authored
Sep 14, 2017
by
Mihai Moldovan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sunweaver-pr/assure-that-Mesa-includes-headers-from-libNX_X11' into 3.6.x
Attributes GH PR #513:
https://github.com/ArcticaProject/nx-libs/pull/513
parents
0815fb06
f9c23b51
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
0 deletions
+69
-0
4005_adapt-all-libX11-include-paths-to-libNX_X11.patch
....2/4005_adapt-all-libX11-include-paths-to-libNX_X11.patch
+68
-0
series
nx-X11/extras/Mesa.patches_6.4.2/series
+1
-0
No files found.
nx-X11/extras/Mesa.patches_6.4.2/4005_adapt-all-libX11-include-paths-to-libNX_X11.patch
0 → 100644
View file @
4405c6a6
Description: Assure that headers from libNX_X11 are always included from ${INCDIR}/nx-X11/.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Index: Mesa/include/GL/xmesa.h
===================================================================
--- Mesa.orig/include/GL/xmesa.h
+++ Mesa/include/GL/xmesa.h
@@ -75,8 +75,8 @@ extern "C" {
#ifdef XFree86Server
#include "xmesa_xf86.h"
#else
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
+#include <nx-X11/Xlib.h>
+#include <nx-X11/Xutil.h>
#include "xmesa_x.h"
#endif
#include "GL/gl.h"
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
@@ -39,7 +39,7 @@
# include "imports.h"
# define __glXMemset memset
#else
-# include <X11/X.h>
+# include <nx-X11/X.h>
# include <GL/glx.h>
# include "GL/glxint.h"
@@ -49,7 +49,7 @@
# define _mesa_malloc(b) malloc(b)
# define _mesa_free(m) free(m)
# else
-# include <X11/Xlibint.h>
+# include <nx-X11/Xlibint.h>
# define __glXMemset memset
# define _mesa_malloc(b) malloc(b)
# define _mesa_free(m) free(m)
Index: Mesa/src/mesa/drivers/x11/glxheader.h
===================================================================
--- Mesa.orig/src/mesa/drivers/x11/glxheader.h
+++ Mesa/src/mesa/drivers/x11/glxheader.h
@@ -43,8 +43,8 @@
#else
-# include <X11/Xlib.h>
-# include <X11/Xutil.h>
+# include <nx-X11/Xlib.h>
+# include <nx-X11/Xutil.h>
# ifdef USE_XSHM /* was SHM */
# include <sys/ipc.h>
# include <sys/shm.h>
Index: Mesa/src/mesa/glapi/glthread.h
===================================================================
--- Mesa.orig/src/mesa/glapi/glthread.h
+++ Mesa/src/mesa/glapi/glthread.h
@@ -180,7 +180,7 @@ typedef CRITICAL_SECTION _glthread_Mutex
* We wrap it again for GL.
*/
#ifdef USE_XTHREADS
-#include <X11/Xthreads.h>
+#include <nx-X11/Xthreads.h>
typedef struct {
xthread_key_t key;
nx-X11/extras/Mesa.patches_6.4.2/series
View file @
4405c6a6
...
...
@@ -3,3 +3,4 @@
4003_CreatePixmap-AllocationHints.patch
4004_define-USE_IEEE-macro-for-more-platforms.patch
5001_nasty-typo-fixes.patch
4005_adapt-all-libX11-include-paths-to-libNX_X11.patch
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment