From f96d6423be9d0cda01a9df4ef39e5e7432cc2aca Mon Sep 17 00:00:00 2001 From: Stephen Gauthier Date: Wed, 4 May 2016 22:13:45 +0000 Subject: [PATCH] patch for ticket #1069 gst-plugins-good-1.6.4 compile error on osx 10.5 git-svn-id: https://xpra.org/svn/Xpra/trunk@12528 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- .../gst-plugins-good-1.6.4-osx-10.5-fixdefs.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 osx/jhbuild/patches/gst-plugins-good-1.6.4-osx-10.5-fixdefs.patch diff --git a/osx/jhbuild/patches/gst-plugins-good-1.6.4-osx-10.5-fixdefs.patch b/osx/jhbuild/patches/gst-plugins-good-1.6.4-osx-10.5-fixdefs.patch new file mode 100644 index 0000000000..c433c4292b --- /dev/null +++ b/osx/jhbuild/patches/gst-plugins-good-1.6.4-osx-10.5-fixdefs.patch @@ -0,0 +1,15 @@ +--- gst-plugins-good-1.6.4.orig/sys/osxaudio/gstosxcoreaudio.c 2015-09-25 15:19:29.000000000 -0700 ++++ gst-plugins-good-1.6.4/sys/osxaudio/gstosxcoreaudio.c 2016-05-04 14:32:26.000000000 -0700 +@@ -35,6 +35,12 @@ + #include "gstosxcoreaudiohal.c" + #endif + ++#ifndef kLinearPCMFormatFlagsSampleFractionShift ++#define kLinearPCMFormatFlagsSampleFractionShift 7 ++#endif ++#ifndef kLinearPCMFormatFlagsSampleFractionMask ++#define kLinearPCMFormatFlagsSampleFractionMask (0x3F << kLinearPCMFormatFlagsSampleFractionShift) ++#endif + + static void + gst_core_audio_class_init (GstCoreAudioClass * klass)