aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1-plugins-v4l2
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-03-29 17:23:44 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-03-29 17:23:44 +0000
commit6700e26863e78f4ba3201787d390752ce30a5d8b (patch)
treea29cbf584d8a0573305dc4fcdd485a669d289828 /multimedia/gstreamer1-plugins-v4l2
parent9504479c9fd1adf6d4fe2989b4119fca3279ddf7 (diff)
downloadports-6700e26863e78f4ba3201787d390752ce30a5d8b.tar.gz
ports-6700e26863e78f4ba3201787d390752ce30a5d8b.zip
Fix build on GCC-based architectures, similar to other previous
gstreamer1-plugins-* commits: ./gstv4l2allocator.h:53: error: redefinition of typedef 'GstV4l2Object' Tested on both amd64 and powerpc64. Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=497171
Diffstat (limited to 'multimedia/gstreamer1-plugins-v4l2')
-rw-r--r--multimedia/gstreamer1-plugins-v4l2/files/patch-sys_v4l2_gstv4l2allocator.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/gstreamer1-plugins-v4l2/files/patch-sys_v4l2_gstv4l2allocator.h b/multimedia/gstreamer1-plugins-v4l2/files/patch-sys_v4l2_gstv4l2allocator.h
new file mode 100644
index 000000000000..b05572178678
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-v4l2/files/patch-sys_v4l2_gstv4l2allocator.h
@@ -0,0 +1,10 @@
+--- sys/v4l2/gstv4l2allocator.h.orig 2018-03-23 20:44:48 UTC
++++ sys/v4l2/gstv4l2allocator.h
+@@ -50,7 +50,6 @@ typedef struct _GstV4l2MemoryGroup GstV4
+ typedef struct _GstV4l2Memory GstV4l2Memory;
+ typedef enum _GstV4l2Capabilities GstV4l2Capabilities;
+ typedef enum _GstV4l2Return GstV4l2Return;
+-typedef struct _GstV4l2Object GstV4l2Object;
+
+ enum _GstV4l2AllocatorFlags
+ {