As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@
This commit is contained in:
parent
83a0aaf92c
commit
9a3af55370
59377 changed files with 98673 additions and 4712155 deletions
17
multimedia/libv4l/patches/patch-lib_libv4l1_libv4l1_c
Normal file
17
multimedia/libv4l/patches/patch-lib_libv4l1_libv4l1_c
Normal file
|
@ -0,0 +1,17 @@
|
|||
Avoid syscall(2) usage
|
||||
|
||||
Index: lib/libv4l1/libv4l1.c
|
||||
--- lib/libv4l1/libv4l1.c.orig
|
||||
+++ lib/libv4l1/libv4l1.c
|
||||
@@ -472,7 +472,11 @@ int v4l1_dup(int fd)
|
||||
int index = v4l1_get_index(fd);
|
||||
|
||||
if (index == -1)
|
||||
+#ifdef CONFIG_SYS_WRAPPER
|
||||
+ return dup(fd);
|
||||
+#else
|
||||
return syscall(SYS_dup, fd);
|
||||
+#endif
|
||||
|
||||
devices[index].open_count++;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue