aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/poudriere.d/patches
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-08 19:09:57 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-08 19:09:57 -0500
commit8aea85b97b044bf4f1d9c77f8cee74dee9e66eee (patch)
tree22d19db21ba10a0a603129d5ea85e1a64f41eeae /files/usr/local/etc/poudriere.d/patches
parent326caed19786670770e856fb48939069ea671050 (diff)
downloadinfrastructure-8aea85b97b044bf4f1d9c77f8cee74dee9e66eee.tar.gz
thunderbird, dino
Diffstat (limited to 'files/usr/local/etc/poudriere.d/patches')
-rw-r--r--files/usr/local/etc/poudriere.d/patches/gstreamer1-plugins-good-fix-v4l-einval.patch.pkg_repository20
1 files changed, 20 insertions, 0 deletions
diff --git a/files/usr/local/etc/poudriere.d/patches/gstreamer1-plugins-good-fix-v4l-einval.patch.pkg_repository b/files/usr/local/etc/poudriere.d/patches/gstreamer1-plugins-good-fix-v4l-einval.patch.pkg_repository
new file mode 100644
index 0000000..503a95d
--- /dev/null
+++ b/files/usr/local/etc/poudriere.d/patches/gstreamer1-plugins-good-fix-v4l-einval.patch.pkg_repository
@@ -0,0 +1,20 @@
+--- multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.c 2024-11-08 16:46:07.003565000 -0500
++++ multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.c 2024-11-08 16:46:11.030787000 -0500
+@@ -1,6 +1,15 @@
+---- sys/v4l2/gstv4l2object.c.orig 2024-09-19 10:01:21 UTC
++--- sys/v4l2/gstv4l2object.c.orig 2024-11-08 18:59:59 UTC
+ +++ sys/v4l2/gstv4l2object.c
+-@@ -5078,7 +5078,9 @@ gst_v4l2_object_probe_caps (GstV4l2Object * v4l2object
++@@ -3159,7 +3159,7 @@ gst_v4l2_object_is_dmabuf_supported (GstV4l2Object * v
++
++ /* Expected to fail, but ENOTTY tells us that it is not implemented. */
++ v4l2object->ioctl (v4l2object->video_fd, VIDIOC_EXPBUF, &expbuf);
++- if (errno == ENOTTY)
+++ if (errno == ENOTTY || errno == EINVAL)
++ ret = FALSE;
++
++ return ret;
++@@ -4886,7 +4886,9 @@ gst_v4l2_object_probe_caps (GstV4l2Object * v4l2object
+ if (v4l2object->ioctl (v4l2object->video_fd, VIDIOC_CROPCAP, &cropcap) < 0) {
+
+ switch (errno) {