[packages/Mesa] - glxext.h references undefined type, fix this - rel 2
baggins
baggins at pld-linux.org
Thu Oct 30 19:50:32 CET 2014
commit 4db28b99d2b2d0af1ea2951e166a25d716285da9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Oct 30 19:52:12 2014 +0100
- glxext.h references undefined type, fix this
- rel 2
Mesa.spec | 4 +++-
missing-type.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/Mesa.spec b/Mesa.spec
index c9dbba3..358b2d2 100644
--- 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
index 0000000..9c8323b
--- /dev/null
+++ b/missing-type.patch
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Mesa.git/commitdiff/4db28b99d2b2d0af1ea2951e166a25d716285da9
More information about the pld-cvs-commit
mailing list