freebsd-ports/multimedia/libv4l/files/patch-utils_libcecutil_cec-gen.pl
Hans Petter Selasky e67df875ae Update v4l_compat, libv4l and v4l-utils to 1.20.0
- Regenerate patches.
- Fetch all sources from GitHub.
- Update package descriptions, WWW links.

Approved by:	pi (implicit)
2020-12-02 21:07:42 +00:00

11 lines
397 B
Perl

--- utils/libcecutil/cec-gen.pl.orig 2020-05-21 11:22:05 UTC
+++ utils/libcecutil/cec-gen.pl
@@ -49,7 +49,7 @@
}
my @args = split(/, */, $func_args);
my $has_struct = $func_args =~ /struct/;
- return if ($func_args =~ /__u\d+\s*\*/);
+ return if ($func_args =~ /__u\d+\s*\*/ || $func_args =~ /uint\d+_t\s*\*/);
my $cec_msg = $msg;
while ($cec_msg =~ /_/ && !exists($msgs{$cec_msg})) {