[128174] trunk/dports/gnome/gstreamer1-gst-plugins-bad

devans at macports.org devans at macports.org
Sat Nov 15 12:40:09 PST 2014


Revision: 128174
          https://trac.macports.org/changeset/128174
Author:   devans at macports.org
Date:     2014-11-15 12:40:09 -0800 (Sat, 15 Nov 2014)
Log Message:
-----------
gstreamer1-gst-plugins-bad: attempt patch to fix build on darwin 10 or earlier.

Modified Paths:
--------------
    trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gstreamer1-gst-plugins-bad/files/patch-opengl-10.6.diff

Modified: trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2014-11-15 19:38:06 UTC (rev 128173)
+++ trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2014-11-15 20:40:09 UTC (rev 128174)
@@ -63,7 +63,8 @@
 use_autoreconf      yes
 autoreconf.args     -fvi
 
-patchfiles          modplug.patch
+patchfiles          modplug.patch \
+                    patch-opengl-10.6.diff
 
 #
 # could depend on tons for multimedia stuff +variants
@@ -103,12 +104,10 @@
 
 #
 # applemedia video plugin uses CoreMedia which is not available on darwin 10 or earlier
-# opengl cocoa build fails on darwin 10 or earlier
 #
 
 if { ${os.major} < 11 } {
-    configure.args-append   --disable-apple_media \
-                            --disable-opengl
+    configure.args-append   --disable-apple_media
 }
 
 #

Added: trunk/dports/gnome/gstreamer1-gst-plugins-bad/files/patch-opengl-10.6.diff
===================================================================
--- trunk/dports/gnome/gstreamer1-gst-plugins-bad/files/patch-opengl-10.6.diff	                        (rev 0)
+++ trunk/dports/gnome/gstreamer1-gst-plugins-bad/files/patch-opengl-10.6.diff	2014-11-15 20:40:09 UTC (rev 128174)
@@ -0,0 +1,24 @@
+--- gst-libs/gst/gl/gstglapi.h.orig	2014-11-15 12:17:15.000000000 -0800
++++ gst-libs/gst/gl/gstglapi.h	2014-11-15 12:20:21.000000000 -0800
+@@ -71,7 +71,8 @@
+ # ifdef __APPLE__
+ #  include <OpenGL/OpenGL.h>
+ #  include <OpenGL/gl.h>
+-#  if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
++#  include <Availability.h>
++#  if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
+ #   define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
+ #   include <OpenGL/gl3.h>
+ #  endif
+--- configure.ac.orig	2014-11-06 02:22:38.000000000 -0800
++++ configure.ac	2014-11-15 12:27:45.000000000 -0800
+@@ -857,7 +857,8 @@
+ # if __APPLE__
+ #  include <OpenGL/OpenGL.h>
+ #  include <OpenGL/gl.h>
+-#  if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
++#  include <Availability.h>
++#  if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
+ #   define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
+ #   include <OpenGL/gl3.h>
+ #  endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141115/3f2eb3f7/attachment.html>


More information about the macports-changes mailing list