[132885] trunk/dports/x11/mesa

jeremyhu at macports.org jeremyhu at macports.org
Wed Feb 11 19:11:08 PST 2015


Revision: 132885
          https://trac.macports.org/changeset/132885
Author:   jeremyhu at macports.org
Date:     2015-02-11 19:11:08 -0800 (Wed, 11 Feb 2015)
Log Message:
-----------
mesa: Fix a bug in glext.h that was causing another port to fail to compile

Modified Paths:
--------------
    trunk/dports/x11/mesa/Portfile

Added Paths:
-----------
    trunk/dports/x11/mesa/files/0001-glext.h-Add-missing-include-of-stddef.h-for-ptrdiff_.patch

Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile	2015-02-12 02:33:14 UTC (rev 132884)
+++ trunk/dports/x11/mesa/Portfile	2015-02-12 03:11:08 UTC (rev 132885)
@@ -6,7 +6,7 @@
 name                mesa
 epoch               1
 version             10.4.4
-revision            1
+revision            2
 categories          x11 graphics
 maintainers         jeremyhu openmaintainer
 license             MIT
@@ -40,6 +40,7 @@
 patchfiles \
     0001-darwin-build-fix.patch \
     0002-darwin-build-fix.patch \
+    0001-glext.h-Add-missing-include-of-stddef.h-for-ptrdiff_.patch \
     1001-darwin-Fix-install-name-of-libOSMesa.patch \
     5001-swrast-Build-fix-for-darwin.patch \
     5002-darwin-Suppress-type-conversion-warnings-for-GLhandl.patch \

Added: trunk/dports/x11/mesa/files/0001-glext.h-Add-missing-include-of-stddef.h-for-ptrdiff_.patch
===================================================================
--- trunk/dports/x11/mesa/files/0001-glext.h-Add-missing-include-of-stddef.h-for-ptrdiff_.patch	                        (rev 0)
+++ trunk/dports/x11/mesa/files/0001-glext.h-Add-missing-include-of-stddef.h-for-ptrdiff_.patch	2015-02-12 03:11:08 UTC (rev 132885)
@@ -0,0 +1,25 @@
+From 91f4221db1b9ecfafbea5664b9862240370e4040 Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+Date: Wed, 11 Feb 2015 12:32:56 -0800
+Subject: [PATCH] glext.h: Add missing include of stddef.h for ptrdiff_t
+
+Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+---
+ include/GL/glext.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/GL/glext.h b/include/GL/glext.h
+index 256ad35..0328cf6 100644
+--- a/include/GL/glext.h
++++ b/include/GL/glext.h
+@@ -4470,6 +4470,7 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count);
+ 
+ #ifndef GL_ARB_vertex_buffer_object
+ #define GL_ARB_vertex_buffer_object 1
++#include <stddef.h>
+ typedef ptrdiff_t GLsizeiptrARB;
+ typedef ptrdiff_t GLintptrARB;
+ #define GL_BUFFER_SIZE_ARB                0x8764
+-- 
+2.3.0
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150211/45029f37/attachment.html>


More information about the macports-changes mailing list