]> git.pld-linux.org Git - packages/Mesa.git/commitdiff
- glxext.h references undefined type, fix this auto/th/Mesa-10.3.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 30 Oct 2014 18:52:12 +0000 (19:52 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 30 Oct 2014 18:52:12 +0000 (19:52 +0100)
- rel 2

Mesa.spec
missing-type.patch [new file with mode: 0644]

index c9dbba38d982908361b0e91359deae9692eb0492..358b2d2b8e41788377f8544a0d2c7c9a0296be64 100644 (file)
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -37,11 +37,12 @@ Summary:    Free OpenGL implementation
 Summary(pl.UTF-8):     Wolnodostępna implementacja standardu OpenGL
 Name:          Mesa
 Version:       10.3.2
-Release:       1
+Release:       2
 License:       MIT (core) and others - see license.html file
 Group:         X11/Libraries
 Source0:       ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
 # Source0-md5: c0a2a975899c4e7485124b388c16cd2f
+Patch0:                missing-type.patch
 URL:           http://www.mesa3d.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
@@ -1006,6 +1007,7 @@ ATI Radeon oparte na układach Southern Islands.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/missing-type.patch b/missing-type.patch
new file mode 100644 (file)
index 0000000..9c8323b
--- /dev/null
@@ -0,0 +1,11 @@
+--- Mesa-10.3.2/include/GL/glxext.h~   2014-10-22 16:37:26.000000000 +0200
++++ Mesa-10.3.2/include/GL/glxext.h    2014-10-30 19:49:51.561677653 +0100
+@@ -477,6 +477,8 @@
+ #ifndef GLX_NV_copy_buffer
+ #define GLX_NV_copy_buffer 1
++#include <stddef.h>
++typedef ptrdiff_t GLintptr;
+ typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+ typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
+ #ifdef GLX_GLXEXT_PROTOTYPES
This page took 0.053879 seconds and 4 git commands to generate.