[62147] trunk/dports/x11/mesa
jeremyhu at macports.org
jeremyhu at macports.org
Tue Dec 29 22:50:46 PST 2009
Revision: 62147
http://trac.macports.org/changeset/62147
Author: jeremyhu at macports.org
Date: 2009-12-29 22:50:44 -0800 (Tue, 29 Dec 2009)
Log Message:
-----------
mesa: Tiger buildfix. #23060
Modified Paths:
--------------
trunk/dports/x11/mesa/Portfile
Added Paths:
-----------
trunk/dports/x11/mesa/files/asglx-glx_empty.patch
Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile 2009-12-29 23:54:40 UTC (rev 62146)
+++ trunk/dports/x11/mesa/Portfile 2009-12-30 06:50:44 UTC (rev 62147)
@@ -113,9 +113,9 @@
#}
variant hw_render description {Install a libGL.dylib that uses OpenGL.framework to allow rendering on your graphics hardware} {
-# post-patch {
-# system "cd ${ASGLX_path} && cat ${filespath}/asglx-*.patch | patch -p0"
-# }
+ post-patch {
+ system "cd ${ASGLX_path} && cat ${filespath}/asglx-*.patch | patch -p1"
+ }
post-build {
system "cd ${ASGLX_path} && ${build.cmd} builds/libGL.1.2.dylib ${build.args} LDFLAGS='${configure.ldflags}' CFLAGS='${configure.cppflags} ${configure.cflags}' INSTALL_DIR='${prefix}'"
Added: trunk/dports/x11/mesa/files/asglx-glx_empty.patch
===================================================================
--- trunk/dports/x11/mesa/files/asglx-glx_empty.patch (rev 0)
+++ trunk/dports/x11/mesa/files/asglx-glx_empty.patch 2009-12-30 06:50:44 UTC (rev 62147)
@@ -0,0 +1,40 @@
+Index: glx_empty.c
+===================================================================
+--- AppleSGLX-59/glx_empty.c (revision 397)
++++ AppleSGLX-59/glx_empty.c (working copy)
+@@ -35,7 +35,7 @@
+ ** GLX_MESA_swap_frame_usage
+ */
+
+-GLint
++int
+ glXBeginFrameTrackingMESA(Display * dpy, GLXDrawable drawable)
+ {
+ int status = GLX_BAD_CONTEXT;
+@@ -45,7 +45,7 @@
+ }
+
+
+-GLint
++int
+ glXEndFrameTrackingMESA(Display * dpy, GLXDrawable drawable)
+ {
+ int status = GLX_BAD_CONTEXT;
+@@ -55,7 +55,7 @@
+ }
+
+
+-GLint
++int
+ glXGetFrameUsageMESA(Display * dpy, GLXDrawable drawable, GLfloat * usage)
+ {
+ int status = GLX_BAD_CONTEXT;
+@@ -65,7 +65,7 @@
+ return status;
+ }
+
+-GLint
++int
+ glXQueryFrameTrackingMESA(Display * dpy, GLXDrawable drawable,
+ int64_t * sbc, int64_t * missedFrames,
+ GLfloat * lastMissedUsage)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091229/3b441e4a/attachment-0001.html>
More information about the macports-changes
mailing list