[136971] trunk/dports/gnome/gstreamer010-gst-plugins-bad

devans at macports.org devans at macports.org
Mon Jun 1 08:02:56 PDT 2015


Revision: 136971
          https://trac.macports.org/changeset/136971
Author:   devans at macports.org
Date:     2015-06-01 08:02:56 -0700 (Mon, 01 Jun 2015)
Log Message:
-----------
gstreamer010-gst-plugins-bad: patch to fix build with libvpx 1.4.0, compatible with current 1.3.0, no change in installed files.

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

Added Paths:
-----------
    trunk/dports/gnome/gstreamer010-gst-plugins-bad/files/patch-libvpx-1.40.diff

Modified: trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile	2015-06-01 14:38:39 UTC (rev 136970)
+++ trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile	2015-06-01 15:02:56 UTC (rev 136971)
@@ -107,7 +107,8 @@
 
 patchfiles          modplug.patch \
                     po.patch \
-                    objcflags.patch
+                    objcflags.patch \
+                    patch-libvpx-1.40.diff
 
 post-patch {
     reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \

Added: trunk/dports/gnome/gstreamer010-gst-plugins-bad/files/patch-libvpx-1.40.diff
===================================================================
--- trunk/dports/gnome/gstreamer010-gst-plugins-bad/files/patch-libvpx-1.40.diff	                        (rev 0)
+++ trunk/dports/gnome/gstreamer010-gst-plugins-bad/files/patch-libvpx-1.40.diff	2015-06-01 15:02:56 UTC (rev 136971)
@@ -0,0 +1,31 @@
+--- ext/vp8/gstvp8utils.h.orig	2015-06-01 07:13:21.000000000 -0700
++++ ext/vp8/gstvp8utils.h	2015-06-01 07:27:15.000000000 -0700
+@@ -26,6 +26,19 @@
+ G_BEGIN_DECLS
+ 
+ /* Some compatibility defines for older libvpx versions */
++
++/* The following #defines break the build for libvpx 1.40+ because
++ * the deprecated symbols IMG_FMT_* PLANE_* have been removed entirely from libvpx
++ * and the newer VPX_IMG_FMT_* VPX_PLANE_* are now implemented as an enum typdef
++ * rather than a list of #defines as in libvpx 1.30 and earlier.. 
++ *
++ * The result is that VPX_IMG_FMT_* VPX_PLANE_* are not "#defined" and and 
++ * IMG_FMT_* PLANE_* are just gone
++ *
++ */
++
++/*
++
+ #ifndef VPX_IMG_FMT_I420
+ #define VPX_IMG_FMT_I420 IMG_FMT_I420
+ #endif
+@@ -42,6 +55,8 @@
+ #define VPX_PLANE_V PLANE_V
+ #endif
+ 
++*/ 
++
+ const char * gst_vpx_error_name (vpx_codec_err_t status);
+ 
+ G_END_DECLS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150601/fdab5cc1/attachment.html>


More information about the macports-changes mailing list