summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer0.10/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer0.10/patches/patch-af')
-rw-r--r--multimedia/gstreamer0.10/patches/patch-af26
1 files changed, 26 insertions, 0 deletions
diff --git a/multimedia/gstreamer0.10/patches/patch-af b/multimedia/gstreamer0.10/patches/patch-af
new file mode 100644
index 00000000000..2ff87bc203e
--- /dev/null
+++ b/multimedia/gstreamer0.10/patches/patch-af
@@ -0,0 +1,26 @@
+$NetBSD: patch-af,v 1.1 2011/01/26 23:15:03 drochner Exp $
+
+--- tests/check/gst/struct_i386.h.orig 2010-07-15 11:34:14.000000000 +0000
++++ tests/check/gst/struct_i386.h
+@@ -1,3 +1,9 @@
++#ifdef __NetBSD__
++#include <sys/param.h>
++#if __NetBSD_Version__ >= 599000000
++#define TIMET64
++#endif
++#endif
+ static GstCheckABIStruct list[] = {
+ {"GstBin", sizeof (GstBin), 184},
+ {"GstBinClass", sizeof(GstBinClass), 288},
+@@ -41,7 +47,11 @@ static GstCheckABIStruct list[] = {
+ {"GstStaticPadTemplate", sizeof(GstStaticPadTemplate), 64},
+ {"GstPipeline", sizeof(GstPipeline), 220},
+ {"GstPipelineClass", sizeof(GstPipelineClass), 304},
++#ifdef TIMET64
++ {"GstPlugin", sizeof(GstPlugin), 152},
++#else
+ {"GstPlugin", sizeof(GstPlugin), 148},
++#endif
+ {"GstPluginClass", sizeof(GstPluginClass), 136},
+ {"GstPluginDesc", sizeof(GstPluginDesc), 56},
+ {"GstPluginFeature", sizeof(GstPluginFeature), 72},