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
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
--- /dev/null
+--- 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