rpms/mesa/devel mesa-6.5.2-xserver-1.1-source-compat.patch, NONE, 1.1 mesa.spec, 1.121, 1.122

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Dec 12 23:48:36 UTC 2006


Author: ajackson

Update of /cvs/dist/rpms/mesa/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31000

Modified Files:
	mesa.spec 
Added Files:
	mesa-6.5.2-xserver-1.1-source-compat.patch 
Log Message:
* Tue Dec 12 2006 Adam Jackson <ajax at redhat.com> 6.5.2-3
- mesa-6.5.2-xserver-1.1-source-compat.patch: Add some source-compatibility
  defines to dispatch.h so the X server will continue to build.


mesa-6.5.2-xserver-1.1-source-compat.patch:
 dispatch.h |    5 +++++
 1 files changed, 5 insertions(+)

--- NEW FILE mesa-6.5.2-xserver-1.1-source-compat.patch ---
--- Mesa-6.5.2/src/mesa/glapi/dispatch.h.jx	2006-12-12 18:02:22.000000000 -0500
+++ Mesa-6.5.2/src/mesa/glapi/dispatch.h	2006-12-12 18:03:04.000000000 -0500
@@ -3840,4 +3840,9 @@
 
 #endif /* !defined(IN_DRI_DRIVER) */
 
+/* backwards compatibility for X server 1.1.1 */
+#define CALL_IsTextureEXT(a, b) CALL_IsTexture(a, b)
+#define CALL_GenTexturesEXT(a, b) CALL_GenTextures(a, b)
+#define CALL_AreTexturesResidentEXT(a, b) CALL_AreTexturesResident(a, b)
+
 #endif /* !defined( _DISPATCH_H_ ) */


Index: mesa.spec
===================================================================
RCS file: /cvs/dist/rpms/mesa/devel/mesa.spec,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- mesa.spec	4 Dec 2006 17:11:21 -0000	1.121
+++ mesa.spec	12 Dec 2006 23:48:34 -0000	1.122
@@ -47,7 +47,7 @@
 Summary: Mesa graphics libraries
 Name: mesa
 Version: 6.5.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: MIT/X11
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
@@ -62,7 +62,7 @@
 # Patches 0-9 reserved for mesa Makefiles/config fixes
 Patch0: mesa-6.5.1-build-config.patch
 Patch4: mesa-6.5-dont-libglut-me-harder-ok-thx-bye.patch
-
+Patch5: mesa-6.5.2-xserver-1.1-source-compat.patch
 Patch18: mesa-6.5.1-selinux-awareness.patch
 
 BuildRequires: pkgconfig
@@ -241,6 +241,7 @@
 
 %patch0 -p1 -b .build-config
 %patch4 -p0 -b .dont-libglut-me-harder-ok-thx-bye
+%patch5 -p1 -b .xserver-1.1-compat
 %patch18 -p1 -b .selinux-awareness
 
 # WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
@@ -410,6 +411,10 @@
 %{_bindir}/glxinfo
 
 %changelog
+* Tue Dec 12 2006 Adam Jackson <ajax at redhat.com> 6.5.2-3
+- mesa-6.5.2-xserver-1.1-source-compat.patch: Add some source-compatibility
+  defines to dispatch.h so the X server will continue to build.
+
 * Mon Dec 4 2006 Adam Jackson <ajax at redhat.com> 6.5.2-2.fc6
 - Fix OSMesa file listing to use %%version for DSO number.  Note that this
   will still break on Mesa 7; oh well.




More information about the fedora-cvs-commits mailing list