[Bug 721245] osxvideosink: Fails to build on OS X Leopard 10.5.8

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 8 15:44:41 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721245
  GStreamer | gst-plugins-good | unspecified

--- Comment #15 from Jeremy Huddleston <jeremyhu at freedesktop.org> 2014-01-08 23:44:40 UTC ---
I think this is what you want (to not error out for iOS):

diff --git a/configure.ac b/configure.ac
index bfccf6e..8cf0cd0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -491,7 +491,8 @@ AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink,
[
   dnl also require Snow Leopard or newer

   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-        #if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
+        #include <AvailabilityMacros.h>
+        #if defined(MAC_OS_X_VERSION_MIN_REQUIRED) &&
MAC_OS_X_VERSION_MIN_REQUIRED < 1060
         #error Too old OSX version
         #endif
       ]], [[return 0;]])],[HAVE_OSX_VIDEO="yes"],[HAVE_OSX_VIDEO="no"])

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list