More info on https://bugzilla.gnome.org/show_bug.cgi?id=673333

ok ?

-- 
Alexandr Shadchin

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/gstreamer-0.10/plugins-base/Makefile,v
retrieving revision 1.54
diff -u -p -r1.54 Makefile
--- Makefile    15 Jan 2013 15:40:19 -0000      1.54
+++ Makefile    25 Apr 2013 21:46:13 -0000
@@ -6,7 +6,7 @@ V=                      0.10.36
 DISTNAME=              gst-plugins-base-${V}
 PKGNAME=               gstreamer-plugins-base-${V}
 
-REVISION=              5
+REVISION=              6
 
 SHARED_LIBS +=  gstinterfaces-0.10   2.6      # .25.0
 SHARED_LIBS +=  gsttag-0.10          2.6      # .25.0
Index: patches/patch-ext_vorbis_gstvorbisdeclib_h
===================================================================
RCS file: 
/cvs/ports/multimedia/gstreamer-0.10/plugins-base/patches/patch-ext_vorbis_gstvorbisdeclib_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-ext_vorbis_gstvorbisdeclib_h
--- patches/patch-ext_vorbis_gstvorbisdeclib_h  28 Apr 2012 09:03:45 -0000      
1.1
+++ patches/patch-ext_vorbis_gstvorbisdeclib_h  25 Apr 2013 21:46:13 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-ext_vorbis_gstvorbisdeclib_h,v 1.1 2012/04/28 09:03:45 
ajacoutot Exp $
---- ext/vorbis/gstvorbisdeclib.h.orig  Sun Dec 11 13:47:07 2011
-+++ ext/vorbis/gstvorbisdeclib.h       Fri Apr 13 02:05:04 2012
+--- ext/vorbis/gstvorbisdeclib.h.orig  Mon Dec 12 00:47:07 2011
++++ ext/vorbis/gstvorbisdeclib.h       Fri Apr 26 01:32:59 2013
 @@ -29,11 +29,6 @@
  
  #ifndef TREMOR
@@ -13,12 +13,13 @@ $OpenBSD: patch-ext_vorbis_gstvorbisdecl
  #define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to float audio"
  
  #define GST_VORBIS_DEC_SRC_CAPS \
-@@ -47,6 +42,42 @@ typedef ogg_packet                     ogg_packet_wrap
+@@ -45,8 +40,39 @@ typedef ogg_packet                     ogg_packet_wrap
  
- #define GST_VORBIS_DEC_GLIB_TYPE_NAME      GstVorbisDec
+ #define GST_VORBIS_DEC_DEFAULT_SAMPLE_WIDTH           (32)
  
+-#define GST_VORBIS_DEC_GLIB_TYPE_NAME      GstVorbisDec
 +#else /* TREMOR */
-+
+ 
 +#define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to integer 
audio"
 +
 +#define GST_VORBIS_DEC_SRC_CAPS \
@@ -33,11 +34,8 @@ $OpenBSD: patch-ext_vorbis_gstvorbisdecl
 +#define GST_VORBIS_DEC_DEFAULT_SAMPLE_WIDTH           (16)
 +
 +/* we need a different type name here */
-+#define GST_VORBIS_DEC_GLIB_TYPE_NAME      GstIVorbisDec
-+
-+/* and still have it compile */
-+typedef struct _GstVorbisDec               GstIVorbisDec;
-+typedef struct _GstVorbisDecClass          GstIVorbisDecClass;
++#define GstVorbisDec GstIVorbisDec
++#define GstVorbisDecClass GstIVorbisDecClass
 +
 +#endif /* TREMOR */
 +
@@ -56,7 +54,7 @@ $OpenBSD: patch-ext_vorbis_gstvorbisdecl
  static inline guint8 *
  gst_ogg_packet_data (ogg_packet * p)
  {
-@@ -72,17 +103,11 @@ gst_ogg_packet_from_wrapper (ogg_packet_wrapper * pack
+@@ -72,17 +98,11 @@ gst_ogg_packet_from_wrapper (ogg_packet_wrapper * pack
    return packet;
  }
  
@@ -78,7 +76,7 @@ $OpenBSD: patch-ext_vorbis_gstvorbisdecl
  typedef struct _ogg_packet_wrapper     ogg_packet_wrapper;
  
  struct _ogg_packet_wrapper {
-@@ -91,26 +116,6 @@ struct _ogg_packet_wrapper {
+@@ -91,26 +111,6 @@ struct _ogg_packet_wrapper {
    ogg_buffer          buf;
  };
  
@@ -105,7 +103,7 @@ $OpenBSD: patch-ext_vorbis_gstvorbisdecl
  /* compensate minor variation */
  #define vorbis_synthesis(a, b)             vorbis_synthesis (a, b, 1)
  
-@@ -154,7 +159,7 @@ gst_ogg_packet_from_wrapper (ogg_packet_wrapper * pack
+@@ -154,7 +154,7 @@ gst_ogg_packet_from_wrapper (ogg_packet_wrapper * pack
    return &(packet->packet);
  }
  

Reply via email to