ports@,
I'd like to simplify fswebcam patches by switching it to OpenBSD videoio.h.
Tested on -current/amd64.
Ok?
Index: graphics/fswebcam/Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/fswebcam/Makefile,v
diff -u -p -r1.20 Makefile
--- graphics/fswebcam/Makefile 26 Sep 2023 11:39:03 -0000 1.20
+++ graphics/fswebcam/Makefile 15 Jan 2025 21:41:29 -0000
@@ -1,6 +1,7 @@
COMMENT= fswebcam is a small and simple webcam app
DISTNAME= fswebcam-20200725
+REVISION= 0
CATEGORIES= graphics
Index: graphics/fswebcam/patches/patch-src_v4l2_c
===================================================================
RCS file: /home/cvs/ports/graphics/fswebcam/patches/patch-src_v4l2_c,v
diff -u -p -r1.2 patch-src_v4l2_c
--- graphics/fswebcam/patches/patch-src_v4l2_c 11 Mar 2022 19:22:19 -0000 1.2
+++ graphics/fswebcam/patches/patch-src_v4l2_c 15 Jan 2025 21:47:35 -0000
@@ -1,24 +1,12 @@
-make these conditional, they're not in older videodev.h
-
Index: src_v4l2.c
--- src_v4l2.c.orig
+++ src_v4l2.c
-@@ -61,14 +61,18 @@ v4l2_palette_t v4l2_palette[] = {
- { SRC_PAL_BGR24, V4L2_PIX_FMT_BGR24 },
- { SRC_PAL_RGB32, V4L2_PIX_FMT_RGB32 },
- { SRC_PAL_BGR32, V4L2_PIX_FMT_BGR32 },
-+#ifdef V4L2_PIX_FMT_ABGR32
- { SRC_PAL_ABGR32, V4L2_PIX_FMT_ABGR32 },
-+
No comments:
Post a Comment